diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-11-11 02:10:44 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-11-17 05:59:44 +0300 |
commit | b49a33ff6ba6e1a52ba9af1182018a3a5a0dfdf3 (patch) | |
tree | 004d73c7d583b40da32b8c30338e01f6215eae4e /lib/gitlab/email | |
parent | 17341244337511a239bb7a262236b9896a0bf76d (diff) |
use Nokogiri::HTML.parse instead of capitalized method
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/html_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/html_parser.rb b/lib/gitlab/email/html_parser.rb index 3a723b777f5..598d5ce1a52 100644 --- a/lib/gitlab/email/html_parser.rb +++ b/lib/gitlab/email/html_parser.rb @@ -11,7 +11,7 @@ module Gitlab end def document - @document ||= Nokogiri::HTML(raw_body) + @document ||= Nokogiri::HTML.parse(raw_body) end def filter_replies! |