We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c31a16 commit 2c220e7Copy full SHA for 2c220e7
packages/compiler/test/ml_parser/lexer_spec.ts
@@ -2877,6 +2877,16 @@ describe('HtmlLexer', () => {
2877
]);
2878
});
2879
2880
+ it('should accept closing tags with prefix', () => {
2881
+ expect(tokenizeAndHumanizeParts(`<html:script>a</html:script>`)).toEqual([
2882
+ [TokenType.TAG_OPEN_START, 'html', 'script'],
2883
+ [TokenType.TAG_OPEN_END],
2884
+ [TokenType.TEXT, 'a'],
2885
+ [TokenType.TAG_CLOSE, 'html', 'script'],
2886
+ [TokenType.EOF],
2887
+ ]);
2888
+ });
2889
+
2890
it('should store the locations', () => {
2891
expect(tokenizeAndHumanizeSourceSpans(`<script>a</script>`)).toEqual([
2892
[TokenType.TAG_OPEN_START, '<script'],
0 commit comments