lib/onebox/engine.rb in onebox-1.8.30 vs lib/onebox/engine.rb in onebox-1.8.31

- old
+ new

@@ -79,12 +79,11 @@ def data fail NoMethodError, "Engines need this method defined" end def link - @url.gsub(/['\"&<>]/, + @url.gsub(/['\"<>]/, "'" => '&#39;', - '&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', ) end