Open
Description
This code:
parser = CssParser::Parser.new
parser.load_string! 'a { color: hotpink; font-size: 13px; }'
parser.find_by_selector 'a'
Returns an array of one string:
["color: hotpink; font-size: 13px;"]
Is there a more easily navigable / parseable data structure we could return? For example, maybe something like:
[{:color=>["hotpink"], :font_size=>["13px"]}]
Metadata
Metadata
Assignees
Labels
No labels