use Nokogiri::HTML.parse instead of capitalized method

This commit is contained in:
http://jneen.net/ 2016-11-11 08:10:44 +09:00
parent 1734124433
commit b49a33ff6b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module Gitlab
end
def document
@document ||= Nokogiri::HTML(raw_body)
@document ||= Nokogiri::HTML.parse(raw_body)
end
def filter_replies!