Re:SVG favicons have some cool benefits
by legulere on Wednesday July 07, 2021 @04:18PM
(#27765333)
I find the most interesting part how < and especially “ don’t need to be escaped inside the href attribute. How does the HTML parser know when the attribute stops?
[ Parent
| on HN ]
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)