The currently deployed mermaid version on https://stackedit.io/app barfs if the mermaid source-code contains non-latin unicode characters.
Plain ASCII works
```mermaid
flowchart TD
src([packages/.../*.js]) --> eyes((eyes))
```
flowchart TD
src([packages/.../*.js]) --> eyes((eyes))
Loading
U+2026 Unicode character fails
But U+2026 : HORIZONTAL ELLIPSIS breaks the mermaid parser in stackedit:
Error: Lexical error on line 2. Unrecognized text.
...D src([packages/…/*.js]) --> eyes((e
----------------------^
```mermaid
flowchart TD
src([packages/…/*.js]) --> eyes((eyes))
```
flowchart TD
src([packages/…/*.js]) --> eyes((eyes))
Loading
Emoji character also fails
The same if we use emoji, such as U+1F440 : EYES:
Error: Lexical error on line 2. Unrecognized text.
...../*.js]) --> eyes((👀))
-----------------------^
```mermaid
flowchart TD
src([packages/.../*.js]) --> eyes((👀))
```
flowchart TD
src([packages/.../*.js]) --> eyes((👀))
Loading
Screenshot
Related work
This is potentially related to #1838 .
And, of course, these examples work just fine here in GitHub and also in mermaid-js.github.io/mermaid-live-editor/
The currently deployed mermaid version on https://stackedit.io/app barfs if the mermaid source-code contains non-latin unicode characters.
Plain ASCII works
flowchart TD src([packages/.../*.js]) --> eyes((eyes))U+2026 Unicode character fails
But
U+2026 : HORIZONTAL ELLIPSISbreaks the mermaid parser in stackedit:flowchart TD src([packages/…/*.js]) --> eyes((eyes))Emoji character also fails
The same if we use emoji, such as
U+1F440 : EYES:flowchart TD src([packages/.../*.js]) --> eyes((👀))Screenshot
Related work
This is potentially related to #1838.
And, of course, these examples work just fine here in GitHub and also in mermaid-js.github.io/mermaid-live-editor/