False positive tag detection to "a<b and c>d" resulting to "a d"
guillermodiazga opened this issue · comments
Guillermo Díaz commented
Package's name
stripHtml
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
False positive tag detection to "ad" resulting to "a d"
Also if you try using "a<b" the result is wrong "a"
Expected behavior
When there's only '<' should preserved the content
Roy Revelt commented
hi! Thank you for raising this. Since original inception the algorithm got more and more complex, in the end we chose to go belt-and-braces and strip tags more aggressively because un-encoded brackets should be flagged up by linters anyway. I've removed references to this old example from readme.
Michael Herger commented
Would stripping the <b
from H4<bE77]7oQL
fall into the same category?
Roy Revelt commented