sanitizeHtml failed to work, all other normal texts are removed unexpectly #638
Unanswered
CaledoniaProject
asked this question in
Q&A
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to transform the
<e>
tag and keep everything else escaped rather than removed. However sanitize-html not only failed to process the self closing<e>
tag, it also killed the<?php
part.I created a minimal case to test:
And main.js:
Does anyone know what's wrong?
Beta Was this translation helpful? Give feedback.
All reactions