@@ -6956,75 +6956,6 @@ Object {
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`compiler: parse Errors UNKNOWN_NAMED_CHARACTER_REFERENCE <template>&unknown;</template> 1`] = `
|
||||
Object {
|
||||
"cached": 0,
|
||||
"children": Array [
|
||||
Object {
|
||||
"children": Array [
|
||||
Object {
|
||||
"content": "&unknown;",
|
||||
"loc": Object {
|
||||
"end": Object {
|
||||
"column": 20,
|
||||
"line": 1,
|
||||
"offset": 19,
|
||||
},
|
||||
"source": "&unknown;",
|
||||
"start": Object {
|
||||
"column": 11,
|
||||
"line": 1,
|
||||
"offset": 10,
|
||||
},
|
||||
},
|
||||
"type": 2,
|
||||
},
|
||||
],
|
||||
"codegenNode": undefined,
|
||||
"isSelfClosing": false,
|
||||
"loc": Object {
|
||||
"end": Object {
|
||||
"column": 31,
|
||||
"line": 1,
|
||||
"offset": 30,
|
||||
},
|
||||
"source": "<template>&unknown;</template>",
|
||||
"start": Object {
|
||||
"column": 1,
|
||||
"line": 1,
|
||||
"offset": 0,
|
||||
},
|
||||
},
|
||||
"ns": 0,
|
||||
"props": Array [],
|
||||
"tag": "template",
|
||||
"tagType": 3,
|
||||
"type": 1,
|
||||
},
|
||||
],
|
||||
"codegenNode": undefined,
|
||||
"components": Array [],
|
||||
"directives": Array [],
|
||||
"helpers": Array [],
|
||||
"hoists": Array [],
|
||||
"imports": Array [],
|
||||
"loc": Object {
|
||||
"end": Object {
|
||||
"column": 31,
|
||||
"line": 1,
|
||||
"offset": 30,
|
||||
},
|
||||
"source": "<template>&unknown;</template>",
|
||||
"start": Object {
|
||||
"column": 1,
|
||||
"line": 1,
|
||||
"offset": 0,
|
||||
},
|
||||
},
|
||||
"type": 0,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`compiler: parse Errors X_INVALID_END_TAG <svg><![CDATA[</div>]]></svg> 1`] = `
|
||||
Object {
|
||||
"cached": 0,
|
||||
|
||||
@@ -2594,17 +2594,6 @@ foo
|
||||
]
|
||||
}
|
||||
],
|
||||
UNKNOWN_NAMED_CHARACTER_REFERENCE: [
|
||||
{
|
||||
code: '<template>&unknown;</template>',
|
||||
errors: [
|
||||
{
|
||||
type: ErrorCodes.UNKNOWN_NAMED_CHARACTER_REFERENCE,
|
||||
loc: { offset: 10, line: 1, column: 11 }
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
X_INVALID_END_TAG: [
|
||||
{
|
||||
code: '<template></div></template>',
|
||||
|
||||
Reference in New Issue
Block a user