]> 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 bcdb03d5de090ed740b244aa8d1f6a883a76a2e7..66f2bd0f841be1d425dfcb87642e742270046342 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: sgml,v 1.35 2016/10/25 20:37:40 christos Exp $
+# $File: sgml,v 1.36 2016/12/01 15:40:52 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