Method: HTML::SGMLParser#report_unbalanced

Defined in:
lib/html/sgml-parser.rb

#report_unbalanced(tag) ⇒ Object



327
328
329
330
331
332
# File 'lib/html/sgml-parser.rb', line 327

def report_unbalanced(tag)
  if @verbose
    print '*** Unbalanced </' + tag + '>', "\n"
    print '*** Stack:', self.stack, "\n"
  end
end