File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
tests/compiler-errors/samples/unmatched-closing-tag-autoclose Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ const parse = {
78
78
* @param {string } reason
79
79
*/
80
80
'invalid-closing-tag-after-autoclose' : ( name , reason ) =>
81
- `</${ name } > attempted to close element that was already automatically closed by <${ reason } >` ,
81
+ `</${ name } > attempted to close element that was already automatically closed by <${ reason } > (cannot nest < ${ reason } > inside < ${ name } >) ` ,
82
82
'invalid-dollar-binding' : ( ) =>
83
83
`The $ name is reserved, and cannot be used for variables and imports` ,
84
84
'invalid-dollar-prefix' : ( ) =>
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import { test } from '../../test';
3
3
export default test ( {
4
4
error : {
5
5
code : 'invalid-closing-tag-after-autoclose' ,
6
- message : '</p> attempted to close element that was already automatically closed by <pre>' ,
6
+ message :
7
+ '</p> attempted to close element that was already automatically closed by <pre> (cannot nest <pre> inside <p>' ,
7
8
position : [ 24 , 24 ]
8
9
}
9
10
} ) ;
You can’t perform that action at this time.
0 commit comments