diff --git a/packages/compiler-core/__tests__/__snapshots__/compile.spec.ts.snap b/packages/compiler-core/__tests__/__snapshots__/compile.spec.ts.snap index 9374c67c..7e156f32 100644 --- a/packages/compiler-core/__tests__/__snapshots__/compile.spec.ts.snap +++ b/packages/compiler-core/__tests__/__snapshots__/compile.spec.ts.snap @@ -11,7 +11,7 @@ return function render() { id: \\"foo\\", class: bar.baz }, [ - _createVNode(_Text, null, _toString(world.burn()), 1 /* TEXT */), + _createVNode(_Text, null, _toString(world.burn()) + \\" \\", 1 /* TEXT */), (_openBlock(), ok ? _createBlock(\\"div\\", { key: 0 }, \\"yes\\") : _createBlock(_Fragment, { key: 1 }, [\\"no\\"])), @@ -34,7 +34,7 @@ return function render() { id: \\"foo\\", class: _ctx.bar.baz }, [ - createVNode(Text, null, toString(_ctx.world.burn()), 1 /* TEXT */), + createVNode(Text, null, toString(_ctx.world.burn()) + \\" \\", 1 /* TEXT */), (openBlock(), (_ctx.ok) ? createBlock(\\"div\\", { key: 0 }, \\"yes\\") : createBlock(Fragment, { key: 1 }, [\\"no\\"])), @@ -56,7 +56,7 @@ export default function render() { id: \\"foo\\", class: _ctx.bar.baz }, [ - createVNode(Text, null, toString(_ctx.world.burn()), 1 /* TEXT */), + createVNode(Text, null, toString(_ctx.world.burn()) + \\" \\", 1 /* TEXT */), (openBlock(), (_ctx.ok) ? createBlock(\\"div\\", { key: 0 }, \\"yes\\") : createBlock(Fragment, { key: 1 }, [\\"no\\"])), diff --git a/packages/compiler-core/__tests__/__snapshots__/parse.spec.ts.snap b/packages/compiler-core/__tests__/__snapshots__/parse.spec.ts.snap index 276821cd..40f635ff 100644 --- a/packages/compiler-core/__tests__/__snapshots__/parse.spec.ts.snap +++ b/packages/compiler-core/__tests__/__snapshots__/parse.spec.ts.snap @@ -245,7 +245,6 @@ Object { "type": 6, "value": Object { "content": "c", - "isEmpty": false, "loc": Object { "end": Object { "column": 23, @@ -331,7 +330,6 @@ Object { "type": 6, "value": Object { "content": "a;", - "isEmpty": false, "loc": Object { "end": Object { "column": 22, @@ -417,7 +415,6 @@ Object { "type": 6, "value": Object { "content": "ÿ", - "isEmpty": false, "loc": Object { "end": Object { "column": 24, @@ -503,7 +500,6 @@ Object { "type": 6, "value": Object { "content": "g;", - "isEmpty": false, "loc": Object { "end": Object { "column": 23, @@ -556,7 +552,6 @@ Object { "children": Array [ Object { "content": "c", - "isEmpty": false, "loc": Object { "end": Object { "column": 16, @@ -625,7 +620,6 @@ Object { "children": Array [ Object { "content": "a;", - "isEmpty": false, "loc": Object { "end": Object { "column": 15, @@ -694,7 +688,6 @@ Object { "children": Array [ Object { "content": "ÿ", - "isEmpty": false, "loc": Object { "end": Object { "column": 17, @@ -763,7 +756,6 @@ Object { "children": Array [ Object { "content": "g;", - "isEmpty": false, "loc": Object { "end": Object { "column": 16, @@ -902,7 +894,6 @@ Object { "children": Array [ Object { "content": "cdata", - "isEmpty": false, "loc": Object { "end": Object { "column": 30, @@ -993,7 +984,6 @@ Object { "children": Array [ Object { "content": "�", - "isEmpty": false, "loc": Object { "end": Object { "column": 21, @@ -1062,7 +1052,6 @@ Object { "children": Array [ Object { "content": "", - "isEmpty": false, "loc": Object { "end": Object { "column": 18, @@ -1131,7 +1120,6 @@ Object { "children": Array [ Object { "content": "", - "isEmpty": false, "loc": Object { "end": Object { "column": 17, @@ -1235,7 +1223,6 @@ Object { "type": 6, "value": Object { "content": "", - "isEmpty": true, "loc": Object { "end": Object { "column": 21, @@ -1270,7 +1257,6 @@ Object { "type": 6, "value": Object { "content": "", - "isEmpty": true, "loc": Object { "end": Object { "column": 27, @@ -1493,7 +1479,6 @@ Object { "children": Array [ Object { "content": "<", - "isEmpty": false, "loc": Object { "end": Object { "column": 12, @@ -1562,7 +1547,6 @@ Object { "children": Array [ Object { "content": "", - "isEmpty": false, "loc": Object { "end": Object { "column": 13, @@ -1707,7 +1691,6 @@ Object { "children": Array [ Object { "content": "cdata", - "isEmpty": false, "loc": Object { "end": Object { "column": 30, @@ -2138,7 +2121,6 @@ Object { "children": Array [ Object { "content": "', - isEmpty: false, loc: { start: { offset: 10, line: 1, column: 11 }, end: { offset: 46, line: 1, column: 47 }, @@ -42,7 +41,6 @@ describe('DOM parser', () => { expect(text).toStrictEqual({ type: NodeTypes.TEXT, content: '&', - isEmpty: false, loc: { start: { offset: 10, line: 1, column: 11 }, end: { offset: 15, line: 1, column: 16 }, @@ -62,7 +60,6 @@ describe('DOM parser', () => { expect(text).toStrictEqual({ type: NodeTypes.TEXT, content: 'some