Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with >9 linkStyles #95

Closed
vurted opened this issue Jan 9, 2015 · 3 comments · May be fixed by GerHobbelt/mermaid#11
Closed

Error with >9 linkStyles #95

vurted opened this issue Jan 9, 2015 · 3 comments · May be fixed by GerHobbelt/mermaid#11

Comments

@vurted
Copy link

vurted commented Jan 9, 2015

Error in the parser if try to define a linkStyle with an index of > 9.

e.g
linkStyle 10 stroke-width:1px

Uncaught Error: Parse error on line 51:
...#00728F;linkStyle 11 stroke:#00728F;str
----------------------^
Expecting 'SPACE', got 'NUM'
mermaid.full.js:14528 parseError
mermaid.full.js:14593
parsemermaid.full.js:13230
exports.getClassesmermaid.full.js:16455
initmermaid.full.js:16517
global.mermaid.initmain.js:139

@knsv
Copy link
Collaborator

knsv commented Jan 9, 2015

Thanks for reporting this!

I can replicate the problem and will work on a fix.

@knsv
Copy link
Collaborator

knsv commented Jan 11, 2015

Fixed with release 0.3.2

@knsv knsv closed this as completed Jan 11, 2015
@vurted
Copy link
Author

vurted commented Jan 12, 2015

Thanks! Now working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants