This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Commit 5d640de
fix: whitelist all html elements
The `html.basic` grammar whitelists only W3 and custom HTML elements.
Some Angular users may use elements that do not have the custom format
(hyphen-separated), so just whitelist all elements. Fixes cases like
`<popover></popover>` being highlighted incorrectly.
Closes #526.1 parent 7fa9923 commit 5d640de
File tree
2 files changed
+2
-2
lines changed- syntaxes
- test/dummy
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
0 commit comments