mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Small email fixes
This commit is contained in:
parent
bf2663346a
commit
8b4c030c16
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue