Skip to content

Commit

Permalink
Merge pull request #30 from splattael/allow-subclassig
Browse files Browse the repository at this point in the history
  • Loading branch information
mscrivo authored Jun 7, 2024
2 parents efdbbf2 + bb02db4 commit 4b91b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html2text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.convert(html)
html = fix_newlines(replace_entities(html))
doc = Nokogiri::HTML(html)

Html2Text.new(doc).convert
new(doc).convert
end

def self.fix_newlines(text)
Expand Down

0 comments on commit 4b91b5c

Please sign in to comment.