htmlpurifier
htmlpurifier copied to clipboard
Content will be cut with multiple body tags
The following string will result in "cars", the word "houses" will be cut off.
<html><body>cars</body></html> <html><body>houses</body></html>
I know it's not valid html, but saw this today in a email. The html body of the email contained multiple html and body tags. So most of the email body was cut off by the purifier.
an easy hotfix is to regex so that html/body tags are removed