Methods
N
S
Class Public methods
new(jumptag)
# File lib/nokogiri/html/document.rb, line 241
def initialize(jumptag)
  @jumptag = jumptag
  super()
end
Instance Public methods
start_element(name, attrs = [])
# File lib/nokogiri/html/document.rb, line 246
def start_element(name, attrs = [])
  super
  throw @jumptag, @encoding if @encoding
  throw @jumptag, nil if name =~ /\A(?:div|h1|img|p|br)\z/
end