2
0
Fork 0
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:
Robin Ward 2013-12-03 10:10:53 -05:00
parent bf2663346a
commit 8b4c030c16
2 changed files with 2 additions and 2 deletions

View file

@ -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