epiphyt / embed-privacy

Embed Privacy prevents loading of embedded external content and allows your site visitors to opt-in.
https://epiph.yt/en/embed-privacy/
GNU General Public License v2.0
19 stars 12 forks source link

Fix HTML validation error for replaced encoded spaces #242

Closed MatzeKitt closed 1 week ago

MatzeKitt commented 1 week ago

Bug/Problem

If a spacing is replaced with %20data-epi-spacing%20 and then the % is later replaced with %_epi_, this will result in %_epi_20data-epi-spacing%_epi_20, which then won’t be recovered again at the end.

Steps to reproduce

Version

1.10.7

Link

No response

Environment info

No response

Code of Conduct