class Infoboxer::Tree::HTMLOpeningTag
Represents orphan opening HTML tag.
NB: Infoboxer
not tries to parse entire structure of HTML-heavy MediaWiki
articles. So, if you have `<div>` at line 150 and closing `</div>` at line 875, there would be orphane `HTMLOpeningTag` and {HTMLClosingTag}. It is not always convenient, but reasonable enough.
Attributes
tag[R]
Public Class Methods
new(tag, attrs)
click to toggle source
Calls superclass method
# File lib/infoboxer/tree/html.rb, line 47 def initialize(tag, attrs) super(**attrs) @tag = tag end
Private Instance Methods
descr()
click to toggle source
# File lib/infoboxer/tree/html.rb, line 59 def descr "#{clean_class}:#{tag}(#{show_params})" end