Open OmgImAlexis opened 3 years ago
I think the ` causes problems to codemirror. I wonder if just upgrading the version fixes the problem.
If I paste the same code in this codemirror playground I get the same. Even trying to upgrade to the latest version of codemirror.
@OmgImAlexis yes seems to be the exact issue.
@alexcanessa should be fixed in https://github.com/codemirror/CodeMirror/commit/472b458a31c2236a7088e4fb5d4bf3b04e8c91fa can you please update.
Describe the bug The syntax highlighter used has a bug with backticks.
To Reproduce Add the following to a file and run
typescript-coverage-report
. Open the html file and you'll see the highlighting breaksExpected behaviour It to not break.
Screenshots
Environment
Additional context Same issue in all browsers leading me to believe it's an issue with the code on generation but I could be wrong.