From 3eb871f9d2e732382346576794f189c02baee3a0 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 1 Dec 2017 03:36:29 +0100 Subject: [PATCH] Fix regressions --- test/specs/parser/model/ParserHtml.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/specs/parser/model/ParserHtml.js b/test/specs/parser/model/ParserHtml.js index 3a27d90a6..e98cdc3d1 100644 --- a/test/specs/parser/model/ParserHtml.js +++ b/test/specs/parser/model/ParserHtml.js @@ -283,15 +283,17 @@ module.exports = { var str = '
content1
nested
content2
'; var result = { tagName: 'div', - type: 'text', components: [{ tagName: '', type: 'textnode', content: 'content1 ', },{ tagName: 'div', - type: 'text', - content: 'nested', + components: [{ + tagName: 'span', + type: 'text', + content: 'nested', + }], },{ tagName: '', type: 'textnode',