logoalt Hacker News

kccqzyyesterday at 3:55 PM2 repliesview on HN

If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.


Replies

lenkiteyesterday at 5:19 PM

Inline SVG is stylable with CSS styles in the same HTML page.

show 1 reply
rwjyesterday at 4:58 PM

Inline reduces round trips.

show 1 reply