We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbdb35d commit b02fb32Copy full SHA for b02fb32
lib/auto_html/image.rb
@@ -17,7 +17,7 @@ def call(text)
17
private
18
19
def image_pattern
20
- %r{(?<!src=")https?://.+?\.(jpg|jpeg|bmp|gif|png)(\?\S+)?}i
+ %r{(?<!src=")https?://.+?\.(jpg|jpeg|bmp|gif|png|svg)(\?\S+)?}i
21
end
22
23
0 commit comments