Skip to content

Commit

Permalink
Use Document class
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 11, 2024
1 parent 1818327 commit c386269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ahoy_email/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def track_links
def parser_class
case options[:html5]
when true
Nokogiri::HTML5
Nokogiri::HTML5::Document
when false
Nokogiri::HTML4
Nokogiri::HTML4::Document
else
Nokogiri::HTML::Document
end
Expand Down

0 comments on commit c386269

Please sign in to comment.