diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index a7705093e..a5ebcbc74 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -226,7 +226,7 @@ Linkify = ordered_types: [ key: 'audio' - regExp: /\.(?:mp3|ogg|wav)$/ + regExp: /\.(?:mp3|ogg|wav)$/i style: '' el: (a) -> $.el 'audio', @@ -248,7 +248,7 @@ Linkify = return file for file of files when files.hasOwnProperty file , key: 'image' - regExp: /\.(?:gif|png|jpg|jpeg|bmp)$/ + regExp: /\.(?:gif|png|jpg|jpeg|bmp)$/i style: 'border: 0; width: auto; height: auto;' el: (a) -> $.el 'div', <%= html('') %> @@ -278,7 +278,7 @@ Linkify = el , key: 'MediaCrush' - regExp: /^\w+:\/\/(?:www\.)?mediacru\.sh\/([\w\-]+)/i + regExp: /^\w+:\/\/(?:www\.)?mediacru\.sh\/([\w\-]+)/ style: 'border: 0;' el: (a) -> el = $.el 'div' @@ -446,7 +446,7 @@ Linkify = dummy: true , key: 'video' - regExp: /\.(?:ogv|webm|mp4)$/ + regExp: /\.(?:ogv|webm|mp4)$/i style: 'border: 0; width: auto; height: auto;' el: (a) -> $.el 'video',