tgalopin / html-sanitizer

Sanitize untrustworthy HTML user input
MIT License
390 stars 41 forks source link

General replacements are breaking URLs #75

Open wlasnapl opened 2 years ago

wlasnapl commented 2 years ago

https://github.com/tgalopin/html-sanitizer/blob/82da21fbb6ca4ed6ac3458391612529958b0a69f/src/Sanitizer/StringSanitizerTrait.php#L23

This replacement is breaking URLs and replacing valid =