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

hypen-minus should be valid in sequence diagram alt/else/etc. descriptions #247

Closed
gibson042 opened this issue Nov 5, 2015 · 0 comments
Closed

Comments

@gibson042
Copy link
Contributor

Looking at sequenceDiagram.jison, I see that loop, opt, alt, and else all expect to be followed by actor rather than less-restrictive text (actor excludes U+002D hyphen-minus, U+003E greater-than, U+003A colon, and U+002C comma—and interestingly does not exclude U+0023 number sign).

This means that perfectly harmless descriptions are rejected, e.g.:

sequenceDiagram
    A->>B: Hello
    opt feels-like-responding
        B->>A: Hello
    end
gibson042 added a commit to gibson042/mermaid that referenced this issue Nov 6, 2015
@knsv knsv closed this as completed in #251 Nov 6, 2015
knsv added a commit that referenced this issue Nov 6, 2015
Properly handle "rest of line" statements
mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/mocha-9.0.2

Bump mocha from 9.0.1 to 9.0.2
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

1 participant