Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Chat oneboxes certain images into proper img elements when you post a bare URL. However, it doesn't work for SVGs, like

But if you use the ! operator at the start, it forces it into an image, which works:


Since SVG is a known standard extension and widely supported on modern browsers, could chat automatically recognize SVGs?

share|improve this question
up vote 8 down vote accepted

Fair point, and easy enough. Added to the next build. Of course (as with the other image types), this only looks at file extensions, and just assumes if the URL ends with .svg (or .jpg etc.) that it's an image.

share|improve this answer
I assume we can override the extension sniffing in the url with the bang ('!') if need be? – casperOne Sep 7 '12 at 19:37
@casperOne Sure, that has always worked (even with SVGs, assuming browser support) -- if you put an exclamation mark before the URL, chat will just believe you that it's an image. – balpha Sep 7 '12 at 19:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .