mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
Missed one spot where url needed cooking
This commit is contained in:
@ -362,7 +362,7 @@ class CookedPostProcessor
|
||||
end
|
||||
end
|
||||
|
||||
img["srcset"] = "#{img["src"]}#{srcset}" if srcset.length > 0
|
||||
img["srcset"] = "#{UrlHelper.cook_url(img["src"])}#{srcset}" if srcset.length > 0
|
||||
|
||||
else
|
||||
img["src"] = upload.url
|
||||
|
Reference in New Issue
Block a user