You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sanitize doesn't claim to be able to preserve formatting, but I agree it's awkward that the example output in the readme no longer matches the actual output.
flavorjones
added a commit
to flavorjones/sanitize
that referenced
this issue
Apr 7, 2024
Sanitize seems to break formatting around elements such as
html
,head
andbody
.Most obvious example would be the one in the readme :
actually returns
instead of alleged
Here's a more complete example :
returns
The text was updated successfully, but these errors were encountered: