Files
oak-gpui/crates
Florian Sanders bdf26fe38a Fix JavaScript and TypeScript HTML injections (#16479)
Fixes #16199

## Description

Recently added template string injections do not completely work for
because any time there is an interpolation (`${// some js content}`)
within an element, its closing tag is not highlighted properly:

![image](https://github.com/user-attachments/assets/e660894b-6e4b-4300-b8d9-2757fa235679)

This PR fixes the issue:

![image](https://github.com/user-attachments/assets/629a30c3-9b3a-4338-aee9-622dbb19581c)

Release Notes:

- Fixed incomplete syntax highlighting for HTML injections inside
JavaScript template tags.

## Note

I'm a beginner with treesitter so I only modified the part for HTML
usecase.
Should the same solution be applied to other injections (`css`, `js`,
etc.)?
2024-08-23 08:53:03 +02:00
..
2024-05-29 18:06:45 -07:00
2024-07-23 15:01:05 -07:00
2024-08-16 10:09:38 -07:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-08-23 00:11:01 +02:00
2024-03-11 10:45:57 +01:00
2024-07-15 17:04:15 -06:00
2024-08-09 13:37:54 -04:00
2024-08-22 22:36:00 -04:00
2024-04-15 14:21:52 +02:00
2024-08-16 10:09:38 -07:00