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
When trying to nest interpolated strings in TypeScript the string never gets "closed" and the rest of the code doesn't get properly formatted. Here's a repro using highlight.js 9.12.0: https://jsfiddle.net/91twpfa2/3/ Note that this works correctly with the language set to JavaScript so hopefully just needs the relevant fix applied to the TypeScript language definition.
I took a peek at this the other day. The typescript definition is missing the concept of substring nesting that exists in the Javascript language file.
When trying to nest interpolated strings in TypeScript the string never gets "closed" and the rest of the code doesn't get properly formatted. Here's a repro using highlight.js 9.12.0: https://jsfiddle.net/91twpfa2/3/ Note that this works correctly with the language set to JavaScript so hopefully just needs the relevant fix applied to the TypeScript language definition.
(Downstream bug report: Reviewable/Reviewable#498)
The text was updated successfully, but these errors were encountered: