Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eslint error @typescript-eslint/no-base-to-string in common.ts #6114

Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a2f3651
Add sample fix example and extend BaseNode interface with scale property
Shahir-47 Dec 3, 2024
8aa4878
Refine scale property documentation and update flowchart example
Shahir-47 Dec 3, 2024
a88b324
#6080: Fix for issue with diamond intersections when using elk-layout
knsv Nov 25, 2024
c50fa54
Revert "#6080: Fix for issue with diamond intersections when using el…
knsv Nov 25, 2024
1d36a21
chore: update dompurify to `^3.2.1`
aloisklink Nov 25, 2024
04beaf3
Added changeset
knsv Nov 25, 2024
ad04be9
#6080: Fix for issue with diamond intersections when using elk-layout
knsv Nov 25, 2024
7ed33a0
Added cypress test
knsv Nov 25, 2024
1c15be6
chore: broken link clean up. Enable flowchart elk tests
ashishjain0512 Nov 27, 2024
b59d54c
the ELK imports break the dev playground, drop them
agokhale Nov 13, 2024
933a220
fix: Add layout-elk in example.html
sidharthv96 Nov 27, 2024
756afbe
Typo kanban.md
docxml Nov 8, 2024
3e42883
[autofix.ci] apply automated fixes
autofix-ci[bot] Nov 8, 2024
adad42c
Version Packages
github-actions[bot] Nov 27, 2024
157a151
fix(#5952): initial fix for architecture diagrams with extreme heights
NicolasNewman Nov 3, 2024
b3308ed
fix(#5952): handled additional edge cases
NicolasNewman Nov 15, 2024
731b070
cicd(#5952): added test case for diagram that instigated the issue
NicolasNewman Nov 15, 2024
9b7cb53
chore(#5952): changeset
NicolasNewman Nov 16, 2024
4806c66
#6088 Updated offset calculations
knsv Nov 27, 2024
41537b4
Added changeset
knsv Nov 27, 2024
f170484
Version Packages
github-actions[bot] Nov 27, 2024
83cecfe
Update CHANGELOG.md
ashishjain0512 Nov 27, 2024
7764e72
Fix a configuration example in gantt.md
michaelbaudino Oct 28, 2024
ab49fb8
[autofix.ci] apply automated fixes
autofix-ci[bot] Oct 28, 2024
e538ce0
Fix type conversion in sanitizeText function to ensure string output
Shahir-47 Dec 5, 2024
940a79d
Merge branch 'develop' of github.com:SeniorSeniorMath-SciLib2k24/merm…
Shahir-47 Dec 6, 2024
6c2e431
Remove sample fix section from flowchart.html and clean up unused sca…
Shahir-47 Dec 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/mermaid/src/diagrams/common/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const sanitizeText = (text: string, config: MermaidConfig): string => {
return text;
}
if (config.dompurifyConfig) {
// eslint-disable-next-line @typescript-eslint/no-base-to-string
text = DOMPurify.sanitize(sanitizeMore(text, config), config.dompurifyConfig).toString();
} else {
text = DOMPurify.sanitize(sanitizeMore(text, config), {
Expand Down
Loading