mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Revert "FIX: Use #dup instead of #+@ since content could be an instance of Nokogiri::XML::Element."
This reverts commit 50afe59306
.
This commit is contained in:
parent
50afe59306
commit
d01c938e1a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class TopicEmbed < ActiveRecord::Base
|
|||
contents = first_paragraph_from(contents)
|
||||
end
|
||||
contents ||= ''
|
||||
contents = contents.dup << imported_from_html(url)
|
||||
contents = +contents << imported_from_html(url)
|
||||
|
||||
url = normalize_url(url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue