class PrawnHtml::HtmlParser
def prepare_attributes(node)
def prepare_attributes(node) node.attributes.each_with_object({}) do |attr, res| res[attr.name] = attr.value end end
def prepare_attributes(node) node.attributes.each_with_object({}) do |attr, res| res[attr.name] = attr.value end end