Mermaid Chart Invalid
# bugs-forum
g
I have not seen this before, I had it generate instructions, and for some reason it made an invalid mermaid chart. I opened it, below is the mermaid it made. Which is invalid, I tried to have it fix it throught the chat, but it was unable. I will try to have it fix it through the epic, maybe that will work. Steps to reproduce: -Use epic to make tickets -Create an execution for that ticket It was for a privacy policy and tos, which I added to the plan. That could have messed with it, as it started as just a privacy policy plan. Mermaid output: sequenceDiagram participant Browser participant HTML as index.html participant GTM participant Banner as CookieConsentBanner participant Analytics as analytics.ts participant Storage as localStorage Browser->>HTML: First visit HTML->>Storage: Read ie_cookie_consent Storage-->>HTML: null (no prior decision) HTML->>GTM: dataLayer.push consent default=denied HTML->>GTM: Load GTM script Browser->>Banner: Render (visible=true) Banner->>Browser: Show banner rect rgb(200, 150, 255) Note over Banner,Analytics: User clicks Accept Banner->>Analytics: setConsent(true) Analytics->>Storage: ie_cookie_consent = 'granted' Analytics->>GTM: dataLayer.push consent update=granted Banner->>Browser: Hide banner end rect rgb(255, 200, 150) Note over Banner,Analytics: User clicks Decline Banner->>Analytics: setConsent(false) Analytics->>Storage: ie_cookie_consent = 'denied' Banner->>Browser: Hide banner end rect rgb(150, 200, 255) Note over Browser,Storage: Returning visit Browser->>HTML: Revisit HTML->>Storage: Read ie_cookie_consent = 'granted' Storage-->>HTML: 'granted' HTML->>GTM: dataLayer.push consent update=granted Browser->>Banner: Render (visible=false) end ```_ https://cdn.discordapp.com/attachments/1476242709961244743/1476242710334800007/image.png?ex=69a069a9&is=699f1829&hm=bf86e7c1f6695ddb44de128eb9952d8301ca6f0d324717fb3f723a61695956ad&
Everything else is amazing guys, thank you! Also, I am not even sure this will affect anything, being only the mermaid diagram.
e
Thanks for reporting. It's showing invalid due to the extra character
_
at the end. You're right; this shouldn't affect anything, but we'll still look into it. cc: @rapid-van-6755 @proud-printer-9482
g
thanks!