mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Small email fixes
This commit is contained in:
@@ -28,7 +28,7 @@ module Email
|
||||
end
|
||||
|
||||
# ensure no schemaless urls
|
||||
if img['src'].starts_with?("//")
|
||||
if img['src'] && img['src'].starts_with?("//")
|
||||
img['src'] = "http:" + img['src']
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user