diff --git a/app/models/communication/block/template/embed.rb b/app/models/communication/block/template/embed.rb index 513987691363850f6a95316c6b58344ce7ad4c14..7930754252444eeb3f07a0d24c1e469a5aedb9e6 100644 --- a/app/models/communication/block/template/embed.rb +++ b/app/models/communication/block/template/embed.rb @@ -17,7 +17,7 @@ class Communication::Block::Template::Embed < Communication::Block::Template::Ba def iframe_without_title? return false unless has_iframe? - nokogiri.at('iframe').attr('title') + !nokogiri.at('iframe').attr('title') end def nokogiri