lib/auto_html/image.rb in auto_html-2.0.2 vs lib/auto_html/image.rb in auto_html-2.1.0
- old
+ new
@@ -15,9 +15,9 @@
end
private
def image_pattern
- %r{(?<!src=")https?://.+?\.(jpg|jpeg|bmp|gif|png)(\?\S+)?}i
+ %r{(?<!src=")https?://.+?\.(jpg|jpeg|bmp|gif|png|svg)(\?\S+)?}i
end
end
end