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
If you have participant, whose name contain -, in sequence diagram, mermaid will fail with following message
TypeError: 'undefined' is not an object (evaluating 'action[0]')
../dist/mermaid.full.js:15352 in parse
../dist/mermaid.full.js:16236
../dist/mermaid.full.js:16466
../dist/mermaid.full.js:16517
phantomjs://webpage.evaluate():23 in executeInPage
phantomjs://webpage.evaluate():29
phantomjs://webpage.evaluate():29
PHANTOM ERROR: TypeError: 'null' is not an object (evaluating 'element.setAttribute')
TRACE:
-> /usr/local/lib/node_modules/mermaid/lib/phantomscript.js: 149 (in function resolveSVGElement)
-> /usr/local/lib/node_modules/mermaid/lib/phantomscript.js: 69%
Mermaid version is 0.3.0
Phantomjs version is 1.9.8
The text was updated successfully, but these errors were encountered:
sudodoki
changed the title
[Parser]
[Parser] Hyphen in participant name bring TypeError
Dec 28, 2014
Been looking at this and it is a bit tricky to fix as the Hyphen is also involved in the signal type. It is possible to fix but would make the grammar much more complex. Perhaps we could encode it somehow?
If you have participant, whose name contain
-
, in sequence diagram, mermaid will fail with following messageMermaid version is 0.3.0
Phantomjs version is 1.9.8
The text was updated successfully, but these errors were encountered: