lib/onebox/engine/slides_onebox.rb in onebox-1.7.3 vs lib/onebox/engine/slides_onebox.rb in onebox-1.7.4
- old
+ new
@@ -19,10 +19,11 @@
</iframe>
HTML
end
def placeholder_html
- "<img src='#{raw[:image]}'>"
+ escaped_src = ::Onebox::Helpers.normalize_url_for_output(raw[:image])
+ "<img src='#{escaped_src}'>"
end
end
end
end