diff --git a/lib/cooked_processor_mixin.rb b/lib/cooked_processor_mixin.rb index b31d27b6c9f..acde19cec14 100644 --- a/lib/cooked_processor_mixin.rb +++ b/lib/cooked_processor_mixin.rb @@ -260,7 +260,7 @@ module CookedProcessorMixin img.name = "span" img.set_attribute("class", "broken-image") img.set_attribute("title", I18n.t("post.image_placeholder.broken")) - img << "" + img << "" img.remove_attribute("src") img.remove_attribute("width") img.remove_attribute("height")