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

gantt: sections can't have a colon #742

Closed
rhz opened this issue Oct 10, 2018 · 2 comments
Closed

gantt: sections can't have a colon #742

rhz opened this issue Oct 10, 2018 · 2 comments

Comments

@rhz
Copy link

rhz commented Oct 10, 2018

Something like

gantt
  ...
  section First goal: Build a greenhouse
  ...

produces the following error when rendered using mermaid.cli

(node:23207) UnhandledPromiseRejectionWarning: Error: Evaluation failed: Error: Parse error on line 5:
...  section First goal: Build a greenhouse
-----------------------^
Expecting 'EOF', 'SPACE', 'NL', 'dateFormat', 'axisFormat', 'title', 'section', 'taskTxt', got 'taskData'
@mike-usa
Copy link

mike-usa commented Apr 9, 2019

Try using the HTML encoded character without the ampersand; e.g., #58; or #colon;

@rhz
Copy link
Author

rhz commented Apr 10, 2019

Thanks for the suggestion @mikeblume! It works!

I've been using my own modified copy of the code as described in #743, so I don't know if it works on the last version from this repo. I'll nevertheless close the issue and if anyone still has the problem we can re-open it.

@rhz rhz closed this as completed Apr 10, 2019
mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…aid-js#742)

Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](lo1tuma/eslint-plugin-mocha@10.0.3...10.0.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

No branches or pull requests

2 participants