Skip to content

Commit b49a33f

Browse files
author
http://jneen.net/
committed
use Nokogiri::HTML.parse instead of capitalized method
1 parent 1734124 commit b49a33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gitlab/email/html_parser.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def initialize(raw_body)
1111
end
1212

1313
def document
14-
@document ||= Nokogiri::HTML(raw_body)
14+
@document ||= Nokogiri::HTML.parse(raw_body)
1515
end
1616

1717
def filter_replies!

0 commit comments

Comments
 (0)