Gantt: Task duration fails silently if it contains extra characters like e, 8, +, =, ...etc #6586
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
When defining a Gantt task duration like 24d, everything works as expected. However, if the duration string contains extra characters (e.g., 24de, 24d+, 24d=, 24d7), the task silently fails to render.
This issue allows the diagram to continue rendering, but omits the faulty task without any visible warning or error. This makes debugging very difficult.
Steps to reproduce
Screenshots
Code Sample
Setup
Mermaid version: 11.6.0
Browser: Chrome 124
OS: Windows 11
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: