From eba3117e08ad46e4dfe2c6e9bc775f8920f7c9e1 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 3 Oct 2018 14:58:37 +1000 Subject: [PATCH] Missed one spot where url needed cooking --- lib/cooked_post_processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index 8653f422382..556345f644e 100644 --- a/lib/cooked_post_processor.rb +++ b/lib/cooked_post_processor.rb @@ -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