Skip to content

Commit

Permalink
Fix JSX for less-than mostly.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Sep 14, 2024
1 parent 921ce84 commit e4c2dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/token-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const tokenProvider = {
jsxReady: [
[/<>/, 'delimiter.html', '@jsxText.FRAGMENT'],
[/(<)([A-Z][\w$]*\s*(?:,|extends|implements))/, ['@brackets', { token: '@rematch', next: '@typeparams' }]],
[/(<)(\s*)([\w$])/, ['delimiter.html', '',
[/(<)([a-zA-Z$])/, ['delimiter.html',
{ token: '@rematch', next: '@jsxIdent.jsxOpen.' },
]],
],
Expand Down

0 comments on commit e4c2dd5

Please sign in to comment.