2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-02 16:04:04 +03:00

chore(react): tests for options.onlyAllowTags

This commit is contained in:
Nikolay Kostyurin
2018-10-25 16:55:16 +02:00
parent 9d5c537436
commit 0f8071315d
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { isTagNode, isStringNode } from '@bbob/plugin-helper';
const toAST = (source, plugins, options) => core(plugins)
.process(source, {
...options,
...options,
render: input => html.render(input, { stripTags: true }),
}).tree;