gitweb: show svg files as text in blob mode
commitc815bf6d153db2ca46942ab885edb967ec066813
authorKyle J. McKay <mackyle@gmail.com>
Sat, 18 Apr 2015 05:11:24 +0000 (17 22:11 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 18 Apr 2015 05:11:24 +0000 (17 22:11 -0700)
treec27dc3c0b94b68a841061174db327437d5b09ac8
parentd483b127b71508dd880e1d6079ab9cdf42b9aad2
gitweb: show svg files as text in blob mode

Since SVG files are just XML, show them as XML text when
viewing them in blob mode.  However, be careful to return
the correct type (image/svg+xml) when viewing them in blob_plain
mode so that they are shown as images there.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/gitweb.perl