Change in Gantt parsing eliminates end-of-line "#" comments #5934
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
I use end-of-line
#
comments to update the date on rolling line items more easily in a few Gantt charts I maintain as a workaround until #3532 is implemented adding anow()
or similar as a valid enddate.I'm able to run once in a while a regex find-and-replace script that simply updates the date.
In playing around in mermaid.live, I found that it seems like no
#
comments are working. I tried a few other characters and they all fail. Looking at the documentation, I see that%%
on its own line works, but know from 18 months of maintaining this that#
worked at the end of a line, too.Steps to reproduce
Put this code into Mermaid.live:
and note that it doesn't work on GitHub anymore, either.
Screenshots
No response
Code Sample
No response
Setup
I was using Mermaid in this context primarily through GitHub Enterprise, and when my company updated to GHES 3.13, we got Mermaid updates through it wherein this previously working functionality was broken.
Suggested Solutions
#
comment functionality%%
to work at the end of a line.Additional Context
No response
The text was updated successfully, but these errors were encountered: