Having quickly looked through the parser, it seems to intentionally throw an error if there is no space between the end of a class and the beginning of an ID. For example:
<div .foo#bar>: Fails
<div #foo.bar>: Succeeds
I would've assumed it was just an oversight in the parser, but it deliberately checks for that exact scenario. Is there a reason a class cannot touch a hash? and why is the opposite
(^ tag 2) valid?
Sorry if i've overlooked some detail explaining this, I just found the inconsistency strange and figured it wasn't intentional.
Having quickly looked through the parser, it seems to intentionally throw an error if there is no space between the end of a class and the beginning of an ID. For example:
<div .foo#bar>: Fails<div #foo.bar>: SucceedsI would've assumed it was just an oversight in the parser, but it deliberately checks for that exact scenario. Is there a reason a class cannot touch a hash? and why is the opposite
(^ tag 2) valid?
Sorry if i've overlooked some detail explaining this, I just found the inconsistency strange and figured it wasn't intentional.