You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version of Mermaid's Gantt charts, it appears that line breaks (e.g., using tags or newline characters such as \n) within task descriptions do not produce the intended effect of creating a new line. While these HTML tags and escape sequences work as expected in section titles, they seem to be ineffectual within the task descriptions.
Steps to reproduce
Create a Gantt chart
Insert a line break on task description
Render the Gantt
Screenshots
Code Sample
gantt
title Sample Gantt Chart
dateFormat YYYY-MM-DD
section Sample Section
Task with line break<br>Second line: done, 2023-12-04, 2w
Setup
Mermaid version:
Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Description
In the current version of Mermaid's Gantt charts, it appears that line breaks (e.g., using
tags or newline characters such as \n) within task descriptions do not produce the intended effect of creating a new line. While these HTML tags and escape sequences work as expected in section titles, they seem to be ineffectual within the task descriptions.
Steps to reproduce
Screenshots
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: