1. Added a Gantt diagram that demonstrates to users that hashtages and semicolons can be added to titles, sections, and task data.
Changes to gantt.spec.js
1. Added unit tests to ensure that semicolons and hashtags didn't break the functionality of the gantt diagram when used in titles, sections or task data.
Changes to /parser/gantt.spec.js
1. Added rendering tests to ensure that semicolons and hashtags in titles, sections, and task data didn't break the rendering of Gantt diagrams.
Currently, everytime `removeScript()` is called, the same DOMPurify
hooks are getting added again and again.
Co-authored-by: Alois Klink <alois@aloisklink.com>
* next: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...
* develop: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...