Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.3k
Commit402abdf
committed
[10] fix: ban version v3.1.7 of DOMPurify
[DOMPurify v3.1.7][1] forbids the use of `<foreignElement>` for HTMLinside of an `<svg>` element, which breaks many mermaid diagrams.It is likely that v3.1.8 will add a new option that will allow us tore-enable this behaviour, but v3.1.7 definitely does not work.(cherry picked from commitde2c05c)[1]:https://github.com/cure53/DOMPurify/releases/tag/3.1.7See:cure53/DOMPurify#1002Fix:#59041 parent8d815f8 commit402abdf
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)