Re:Improving GitHub for science
by TTPrograms on Thursday May 15, 2014 @01:28AM
(#7747987)
They don't have to send the straight svg for preview. They could either modify it for compatibility or at least render it server-side to raster and send it over. It's not impossible, at any rate.
It's not only a matter of compatibility but a multitude of security issues as well.
Re:Improving GitHub for science
by santaclaus on Thursday May 15, 2014 @09:24AM
(#7749240)
Lackluster SVG support doesn't stop with browsers. Even Adobe Illustrator manages to royally botch SVG support -- try anything with transparency.
So while it may be possible to target SVG as a backend for rendering basic drawings, displaying arbitrary SVG files is, in practice, a lost cause.