You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Allow comments to be inside of tags.
- Fixes the lexing of `<!--` comments.
- Allow tag names to include `-`.
- Added tests.
- Resolvesalecthomas#940
- Resolvesalecthomas#939
- Allow comments to be inside of tags.
- Fixes the lexing of `<!--` comments.
- Allow tag names to include `-`.
- Modify module rule to be more strict which is to match `declare module
"Module name"`.
- Added tests.
- Resolvesalecthomas#940
- Resolvesalecthomas#939
- Resolvesalecthomas#801
Is there an existing issue for this?
Describe the bug
Custom JSX Node properties, like
data-test-id
are causing an error.The lexer doesn't like the dashes.
To Reproduce
https://swapoff.org/chroma/playground/#eyJsYW5ndWFnZSI6IlR5cGVTY3JpcHQiLCJzdHlsZSI6Im1vbm9rYWlsaWdodCIsInRleHQiOiJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5leHBvcnQgZnVuY3Rpb24gT3V0cm8oKTogUmVhY3QuSlNYLkVsZW1lbnQge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxwXG4gICAgICAgICAgICBkYXRhLXRlc3QtaWQ9XCJvdXRyb1wiXG4gICAgICAgID5UaGFua3MgZm9yIHJlYWRpbmchPC9wPlxuICAgICk7XG59IiwiY2xhc3NlcyI6ZmFsc2V9
The text was updated successfully, but these errors were encountered: