use Nokogiri::HTML.parse instead of capitalized method
This commit is contained in:
parent
1734124433
commit
b49a33ff6b
|
|
@ -11,7 +11,7 @@ module Gitlab
|
||||||
end
|
end
|
||||||
|
|
||||||
def document
|
def document
|
||||||
@document ||= Nokogiri::HTML(raw_body)
|
@document ||= Nokogiri::HTML.parse(raw_body)
|
||||||
end
|
end
|
||||||
|
|
||||||
def filter_replies!
|
def filter_replies!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue