mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
Replace Hpricot with Nokogiri
This commit is contained in:
parent
84a167725d
commit
6995e75d41
15 changed files with 36 additions and 34 deletions
|
@ -9,7 +9,7 @@ class CookedPostProcessor
|
|||
@dirty = false
|
||||
@opts = opts
|
||||
@post = post
|
||||
@doc = Hpricot(post.cooked)
|
||||
@doc = Nokogiri::HTML(post.cooked)
|
||||
end
|
||||
|
||||
def dirty?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue