Skip to content

Commit b101d1e

Browse files
committed
Fixes image regex
Signed-off-by: Akash Manohar J <akash@akash.im>
1 parent 1a50dcc commit b101d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/backbone/plugins/image_embed.js.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class Kandan.Plugins.ImageEmbed
22
@options:
3-
regex: /^http.*\.(jpg|jpeg|gif|png)/i
3+
regex: /http.*\.(jpg|jpeg|gif|png)/i
44

55
template: _.template '''
66
<div class="image-preview">

0 commit comments

Comments
 (0)