From dbfcb64ef01b69b809548dcf14a0438a0aa28d3e Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Fri, 6 Dec 2024 17:39:41 -0500 Subject: [PATCH] doc: tidying HTML4 documentation related to #3330 [skip ci] --- lib/nokogiri/html4.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/nokogiri/html4.rb b/lib/nokogiri/html4.rb index aad68e78baf..462a17ccfb5 100644 --- a/lib/nokogiri/html4.rb +++ b/lib/nokogiri/html4.rb @@ -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 @@ -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