less.ruby
less.ruby copied to clipboard
Can't parse IDs with colons
Apps written using Java's JSF are littered with HTML elements with colons in the ID, eg:
<input type="text" class="text" id="agreementForm:price:priceField1"/>
To select these with CSS you can backslash the colon, like this:
agreementForm\:price\:priceField1 { ... }
... But it doesn't work in IE. So you have to escape the colon as a hex code:
agreementForm\3a price\3a priceField1 { ... }
This works in all browsers, however Less doesn't recognise this syntax.
I just noticed you commited a large rewrite to master an hour ago. I haven't tested this with the new version yet.
yea, I rewrote less from the ground-up using the treetop parsing library. This is definitely not going to work with the current code base though.