mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-06 17:59:29 +00:00
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…
x
Reference in New Issue
Block a user