yoksel / url-encoder

🛸 Url-encoder, useful for SVG
http://yoksel.github.io/url-encoder
1.22k stars 186 forks source link

Should escape " " to "%20" #57

Open johnnyshankman opened 2 years ago

johnnyshankman commented 2 years ago

Spaces are not URL safe.

Alexandre-Fernandez commented 1 year ago

I have a SVG with intentional white space inside tags and the encoder removes them.

DimaGashko commented 3 days ago

@johnnyshankman I mean... its the point

https://codepen.io/tigt/post/optimizing-svgs-in-data-uris

image