From 8d9d230a60c0bbf2d4d6947a556750ec3bb781ff Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 8 May 2014 00:59:06 -0700 Subject: [PATCH] don't execute SVG javascript --- src/Linkification/Linkify.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 4579aa856..57c569d67 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -331,10 +331,8 @@ Linkify = """ - when 'image/png', 'image/gif', 'image/jpeg' + when 'image/png', 'image/gif', 'image/jpeg', 'image/svg', 'image/svg+xml' "" - when 'image/svg', 'image/svg+xml' - "" when 'audio/mpeg' "" else