diff --git a/plugins/lazyYT/plugin.rb b/plugins/lazyYT/plugin.rb index 4ba7bc42ed8..70475b73afa 100644 --- a/plugins/lazyYT/plugin.rb +++ b/plugins/lazyYT/plugin.rb @@ -22,7 +22,8 @@ class Onebox::Engine::YoutubeOnebox video_height = (params['height'] && params['height'].to_i <= 500) ? params['height'] : 270 # embed height # Put in the LazyYT div instead of the iframe - "
" + escaped_title = ERB::Util.html_escape(video_title) + "" else yt_onebox_to_html end