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

Support leading comments for sequenceDiagrams #312

Merged
merged 1 commit into from
Mar 4, 2016

Conversation

ashsearle
Copy link
Contributor

Fixes #141

@knsv
Copy link
Collaborator

knsv commented Mar 4, 2016

Thanks! This one has been around for a while. Good to have it fixed!
Merging.

knsv added a commit that referenced this pull request Mar 4, 2016
Support leading comments for sequenceDiagrams
@knsv knsv merged commit 6c621f2 into mermaid-js:master Mar 4, 2016
@MikeB2012
Copy link

Leading %% bug still seems to be an issue for gantt (in v6.0.0). Using the simple example at: http://knsv.github.io/mermaid/#styling40, symptoms and workaround are identical to issue #141 ie. remove the comment and everything works.

Error:

15:02:17 (847) :DEBUG: Parse error on line 1:
... Gannt Chart example gantt title A G
-----------------------^
Expecting 'gantt', got 'NL'
mermaid.min.js:24 15:02:17 (847) :WARN: TypeError: Cannot read property '0' of undefined
at t.parse (mermaid.min.js:22)
at Object.e.exports.draw (mermaid.min.js:22)
at C (mermaid.min.js:24)
at Object.n.render (mermaid.min.js:24)
at Object.c [as init] (mermaid.min.js:24)
at Object.n.contentLoaded (mermaid.min.js:24)
at mermaid.min.js:24

mgenereu pushed a commit to mgenereu/mermaid that referenced this pull request Jun 25, 2022
…yarn/develop/svelte-3.42.3

chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
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 this pull request may close these issues.

3 participants