Browse Source

Fix for the html parser tests

pull/4105/head
Artur Arseniev 4 years ago
parent
commit
d5154327e9
  1. 2
      src/parser/model/ParserHtml.js

2
src/parser/model/ParserHtml.js

@ -281,7 +281,7 @@ export default config => {
const options = {
...config.optionsHtml,
// Support previous `configParser.htmlType` option
htmlType: config.optionsHtml.htmlType || config.htmlType,
htmlType: config.optionsHtml?.htmlType || config.htmlType,
...opts,
};
const el = isFunction(cf.parserHtml) ? cf.parserHtml(str, options) : BrowserParserHtml(str, options);

Loading…
Cancel
Save