egonSchiele/HandsomeSoup — pull request #4 by akamaus (2012-07-06 09:22:52+00:00)
Title: Dashes and underscores in id and class attributes

Hi, thanks for the package!

I've found what it refuses to parse many real world tags because your lexer is too strict. Take a look at http://www.w3.org/TR/CSS21/grammar.html

I made a quick fix for supporting dashes and underscores in id and class attributes.