PHP-CSS-Parser icon indicating copy to clipboard operation
PHP-CSS-Parser copied to clipboard

[BUGFIX] Fix comment parsing to support multiple comments

Open ziegenberg opened this issue 6 months ago • 5 comments

Because of an eager consumption of whitespace, the rule parsing would swallow a trailing comment, meaning the comment for the next rule would be affected. This patch addresses this by only consuming real whitespace without comments after a rule.

Fixes #173

ziegenberg avatar Aug 24 '24 11:08 ziegenberg