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