Can't embed SVG link in posts


(Dan Fabulich) #1

Our forum is talking about the upgrade from EmojiOne v3.0 to v3.1. For some reason, emojione.com decided that v3.0 would appear on their website in PNG, so I can link to them in a Discourse post, but v3.1 uses SVG. When I try to paste that into a forum post (so I can do an A/B comparison) it doesn’t work.

For example: https://www.emojione.com/emoji/1f48f

The kiss looks pretty different from v3.0 to v3.1. I can copy and paste the v3.0 URL here and have it show up as a PNG, but not the v3.1 URL.

https://d1j8pt39hxlh3d.cloudfront.net/development/emojione/3.1/551/9357.svg?1497573595

Is this a bug? I think the forum supports SVG in general, right?


(Jeff Atwood) #2

Sort of, there are a lot of security exploits with SVG so we have heavy restrictions on what SVG commands are allowed. I suggest writing Emoji One and telling them they need to allow PNG linking.