Make rubocop happy.
This commit is contained in:
parent
da9106127a
commit
424c477043
|
@ -23,7 +23,7 @@ module DiscourseChat::Provider::SlackProvider
|
|||
end
|
||||
|
||||
def self.excerpt(post, max_length = SiteSetting.chat_integration_slack_excerpt_length)
|
||||
doc = Nokogiri::HTML.fragment(post.excerpt(max_length,
|
||||
doc = Nokogiri::HTML5.fragment(post.excerpt(max_length,
|
||||
remap_emoji: true,
|
||||
keep_onebox_source: true
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue