diff --git a/data/custom.xml b/data/custom.xml index 1c6b3eb..a63eec2 100644 --- a/data/custom.xml +++ b/data/custom.xml @@ -2,8 +2,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + diff --git a/lib/marcel/tables.rb b/lib/marcel/tables.rb index bcc7622..cdb8d4a 100644 --- a/lib/marcel/tables.rb +++ b/lib/marcel/tables.rb @@ -2519,7 +2519,7 @@ module Marcel ['image/vnd.adobe.photoshop', [[0, b["8BPS\000\001"]], [0, b["8BPS\000\002"]]]], ['image/webp', [[0, b['RIFF'], [[8, b['WEBP']]]]]], ['text/html', [[0, b['(?i)<(html|head|body|title|div)[ >]']], [0, b['(?i)]']]]], - ['image/svg+xml', [[0..4096, b['" diff --git a/test/fixtures/name/text/javascript/javascript.js b/test/fixtures/name/text/javascript/javascript.js index cb75645..cbbfdf9 100644 --- a/test/fixtures/name/text/javascript/javascript.js +++ b/test/fixtures/name/text/javascript/javascript.js @@ -1,3 +1,5 @@ +svg=``; + function() { alert("test") }