diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb index 634689132e7..c369074def7 100644 --- a/app/models/topic_embed.rb +++ b/app/models/topic_embed.rb @@ -46,7 +46,7 @@ class TopicEmbed < ActiveRecord::Base opts = opts || {} doc = Readability::Document.new(open(url).read, - tags: %w[div p code pre h1 h2 h3 b em i strong a img], + tags: %w[div p code pre h1 h2 h3 b em i strong a img ul li ol], attributes: %w[href src]) TopicEmbed.import(user, url, opts[:title] || doc.title, doc.content)