Module: Html2haml

Defined in:
lib/html2haml/html.rb,
lib/html2haml.rb,
lib/html2haml/exec.rb,
lib/html2haml/version.rb,
lib/html2haml/html/erb.rb

Overview

HAML_TAGS.each do |t| Nokogiri::XML::ElementContent[t] = {} Nokogiri::XML::ElementContent.keys.each do |key| Nokogiri::XML::ElementContent[t][key.hash] = true end end

Nokogiri::XML::ElementContent.keys.each do |k| HAML_TAGS.each do |el| val = Nokogiri::XML::ElementContent[k] val[el.hash] = true if val.is_a?(Hash) end end

Defined Under Namespace

Modules: Exec Classes: HTML

Constant Summary collapse

VERSION =
"2.2.0"