A platform for community discussion. Free, open, simple.
Revert "FIX: Use #dup instead of #+@ since content could be an instance of Nokogiri::XML::Element."
romanrizzid01c938e1a8b
diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rbindex 8219e30e834..973b4896c51 100644--- a/app/models/topic_embed.rb+++ b/app/models/topic_embed.rb@@ -37,7 +37,7 @@ class TopicEmbed < ActiveRecord::Basecontents = first_paragraph_from(contents)endcontents ||= ''- contents = contents.dup << imported_from_html(url)+ contents = +contents << imported_from_html(url)url = normalize_url(url)