module Html2haml
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
Constants
- VERSION