CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

Render SVGs inline in diffs #2426

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently PNGs are rendered in diffs, but SVGs are only show as source. As most 
modern browsers support SVG (http://caniuse.com/#search=svg) they should also 
be rendered, above the source, without having to press the download button.

Original issue reported on code.google.com by ejsand...@gmail.com on 24 Jan 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Have you configured the mime type for SVG as safe?

  https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#mimetype

Original comment by edwin.ke...@gmail.com on 24 Jan 2014 at 4:54