Skip to content

no triming participant name and the name following spaces is as another actor in sequence #809

Closed
@guide2it

Description

@guide2it

sequenceDiagram
participant A
participant A
participant A
participant B
A->>B:Who are these guys between us?
MermaidBug

Activity

stale

stale commented on Jun 29, 2019

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

IOrlandoni

IOrlandoni commented on Jul 12, 2019

@IOrlandoni
Member

I'd be happy to work on this.

Would the solutionbe as simple as not treating the whitespace as part of the actor name in the participant declaration without a description?

ThePenguin1140

ThePenguin1140 commented on Jul 13, 2019

@ThePenguin1140

Yea that sounds right.
I think this can be fixed by adding a + to the SPACE definition in the parser. I was rooting through that the other day but I didn't commit anything yet.

IOrlandoni

IOrlandoni commented on Jul 14, 2019

@IOrlandoni
Member

Merged to master on #882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Bug / ErrorSomething isn't working or is incorrect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @IOrlandoni@ThePenguin1140@knsv@guide2it

      Issue actions

        no triming participant name and the name following spaces is as another actor in sequence · Issue #809 · mermaid-js/mermaid