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
Right, I had a dig and this is a side effect of handling these different text/template script types and recognising the Handlebars templates inside them (rather than just treating them as generic script). So basically whatever is between the script tag name and the type attribute gets picked up as the beginning of the capture group.
This code, with the
id
attribute first, doesn't highlight properly:but it does if you swap the
id
andtype
attributes around, eg:The text was updated successfully, but these errors were encountered: