mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FEATURE: Nokogumbo (#9577)
* FEATURE: Nokogumbo Use Nokogumbo HTML parser.
This commit is contained in:
parent
b8b1cbbfb9
commit
9bff0882c3
50 changed files with 165 additions and 179 deletions
|
@ -297,7 +297,7 @@ class ImportScripts::JiveApi < ImportScripts::Base
|
|||
end
|
||||
|
||||
def process_raw(raw)
|
||||
doc = Nokogiri::HTML.fragment(raw)
|
||||
doc = Nokogiri::HTML5.fragment(raw)
|
||||
|
||||
# convert emoticon
|
||||
doc.css("span.emoticon-inline").each do |span|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue