Replies: 1 comment
-
Take a look at the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to do the titled description?
I have a large chunk of HTML being converted from an RTF file that may contain angled brackets. Running this HTML through the sanitizer seems to auto-generate closing tags if angled brackets exist.
I.e. I have HTML
<p>This is a <test></p>
Sanitizing this with disallowedTagsMode on 'escape' produces :
<p>This is a <test></test></p>
But what I want is
<p>This is a <test></p>
I've read through the documentation and I don't see anything on auto-generating close tags.. wondering if this is possible or if there's some sort of workaround.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions