Steps to Reproduce
- Add a SyntaxHighlighter Code block with the language set to JavaScript, containing a script that includes a template literal
- View the page to find the line containing the template literal has inconsistent styling
What I Expected
The template literal uses string styles, and the code after it the same plain styles as the code before it.
What Happened Instead
Code after the opening backtick all uses the preprocessor styles.
PHP / WordPress / SyntaxHighlighter Evolved version
PHP 8.2
WP 6.6.2
SHE 3.7.1
Browser / OS version
Arc 1.78.1
macOS 14.7
Screenshot / Video
Context / Source
https://docs.gravityforms.com/gform-submission-pre_submission/