This is preventing any Chromium based browser (anything except Firefox) to inject Mermaid v10.9.0, I tested with Chrome and Opera, Firefox does not complain about those characters.
Steps to reproduce
A simple Chrome extension can be created to reproduce this issue:
Description
The introduction of Katex in v10.9.0 most likely introduced characters that are not encoded properly into the build.
When I try to inject Mermaid v10.9.0 into a Chrome browser extension I get the following error:
At first glance it looks like the file is indeed encoded with UTF-8, but when I tried to convert it using a tool available on Linux:
I got
At that position I found this character:
Then by removing it and running the command again, I found another one:
and so on.
Using an online converter to encode those characters I got:
µ
->µ
−
->â
This is preventing any Chromium based browser (anything except Firefox) to inject Mermaid v10.9.0, I tested with Chrome and Opera, Firefox does not complain about those characters.
Steps to reproduce
A simple Chrome extension can be created to reproduce this issue:
manifest.json
background.js
mermaid.min.js
Needs to be v10.9.0
This extension will try to inject
mermaid.min.js
into any page you visit.Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response