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
is this vital to sanitisation or does it make sense to have it configurable (or even true by default) ?
there are legit SVG files, like the ones produced by the freeze tool [0] which rely on white spaces to properly format textual content sampled from terminals, and would be great to support them all the way down to WordPress sanitisation, as those are great for technical blogposts!
Apparently all white spaces are lost at parse time because of this:
https://github.com/darylldoyle/svg-sanitizer/blob/master/src/Sanitizer.php#L105
is this vital to sanitisation or does it make sense to have it configurable (or even
true
by default) ?there are legit SVG files, like the ones produced by the freeze tool [0] which rely on white spaces to properly format textual content sampled from terminals, and would be great to support them all the way down to WordPress sanitisation, as those are great for technical blogposts!
[0] https://github.com/charmbracelet/freeze/tree/main
The text was updated successfully, but these errors were encountered: