class HtmlBeautifier::HtmlParser

Constants

ELEMENT_CONTENT
HTML_BLOCK_ELEMENTS
HTML_VOID_ELEMENTS
MAPPINGS

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/htmlbeautifier/html_parser.rb, line 53
def initialize
  super do |p|
    MAPPINGS.each do |regexp, method|
      p.map regexp, method
    end
  end
end