Skip to content

Commit

Permalink
doc: tidying HTML4 documentation
Browse files Browse the repository at this point in the history
related to #3330

[skip ci]
  • Loading branch information
flavorjones committed Dec 6, 2024
1 parent cc329b7 commit dbfcb64
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/nokogiri/html4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

module Nokogiri
class << self
# Parse HTML. Convenience method for Nokogiri::HTML4::Document.parse
# Convenience method for Nokogiri::HTML4::Document.parse
def HTML4(...)
Nokogiri::HTML4::Document.parse(...)
end
Expand All @@ -15,14 +15,12 @@ def HTML4(...)
# for parsing HTML.
module HTML4
class << self
###
# Parse HTML. Convenience method for Nokogiri::HTML4::Document.parse
# Convenience method for Nokogiri::HTML4::Document.parse
def parse(...)
Document.parse(...)
end

####
# Parse a fragment from +string+ in to a NodeSet.
# Convenience method for Nokogiri::HTML4::DocumentFragment.parse
def fragment(...)
HTML4::DocumentFragment.parse(...)
end
Expand Down

0 comments on commit dbfcb64

Please sign in to comment.