]> granicus.if.org Git - file/commitdiff
PR/578: Roger H: Add SVG HTML file magic
authorChristos Zoulas <christos@zoulas.com>
Thu, 1 Dec 2016 15:40:52 +0000 (15:40 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 1 Dec 2016 15:40:52 +0000 (15:40 +0000)
magic/Magdir/sgml

index 76ee0eba4c97f4eb5665f3d47b144d6db334dd08..ef2fd751bfc283a9005acb09919bdfb7d2528533 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: sgml,v 1.34 2016/09/11 13:56:42 christos Exp $
+# $File: sgml,v 1.35 2016/10/25 20:37:40 christos Exp $
 # Type:        SVG Vectorial Graphics
 # From:        Noel Torres <tecnico@ejerciciosresueltos.com>
 0      string          \<?xml\ version="
 !:mime text/html
 !:strength + 5
 
+# SVG document
+# https://www.w3.org/TR/SVG/single-page.html
+0      search/4096/cWbt        \<!doctype\ svg SVG XML document
+!:mime  image/svg+xml
+!:strength + 5
+
 0      search/4096/cwt \<head\>                HTML document text
 !:mime text/html
 !:strength + 5