From b5623a8601cc692f25fca4fbd277ec94cfbfdf34 Mon Sep 17 00:00:00 2001 From: mak Date: Mon, 21 Sep 2020 16:55:46 +0200 Subject: [PATCH] bug fix --- src/parser/model/ParserHtml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/model/ParserHtml.js b/src/parser/model/ParserHtml.js index 3d9563858..84ddc47d1 100644 --- a/src/parser/model/ParserHtml.js +++ b/src/parser/model/ParserHtml.js @@ -202,7 +202,7 @@ export default config => { // just make it content of the current node if (nodeChild === 1 && firstChild.nodeType === 3) { !model.type && (model.type = 'text'); - model.content = firstChild.nodeValue; + model.components = firstChild.nodeValue; } else { model.components = this.parseNode(node); }