3 ms·
I don't think it's actually valid - the examples just aren't base64-encoding in order to make it possible to read them easily. Edit: Yeah, you at least need to
by svieira 5y ago
I don't think it's actually valid - the examples just aren't base64-encoding in order to make it possible to read them easily.
Edit: Yeah, you at least need to change the `"` to `'` in the inline SVG before it will parse correctly (tested in Firefox)
- account42 5y agoYou need to escape special characters, but you do not need to base64-encode SVG, which gives it a slight advantage over binary formats in data URLs.