summaryrefslogtreecommitdiff
path: root/magic
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2016-12-01 15:40:52 +0000
committerChristos Zoulas <christos@zoulas.com>2016-12-01 15:40:52 +0000
commit62427f95a941e2f59bc468831d0fd488cafdb77b (patch)
tree50a26f82656e00cb71c4ba8c2c7c4e0a3dac6409 /magic
parente1bb880417b8959d67b6a23b0162008a2e0970e8 (diff)
downloadfile-git-62427f95a941e2f59bc468831d0fd488cafdb77b.tar.gz
PR/578: Roger H: Add SVG HTML file magic
Diffstat (limited to 'magic')
-rw-r--r--magic/Magdir/sgml8
1 files changed, 7 insertions, 1 deletions
diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml
index bcdb03d5..66f2bd0f 100644
--- a/magic/Magdir/sgml
+++ b/magic/Magdir/sgml
@@ -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="
@@ -48,6 +48,12 @@
!: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