You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Line comments aren't stripped from @supports selector(...) #3527
changed the title [-]Line comments aren't stripped from @support selector(...)[/-][+]Line comments aren't stripped from @supports selector(...)[/+]on Jul 3, 2020
It's expected behavior, although of course not ideal. The @supports tag and some other at-rules that are not explicitly parsed basically allow anything in the at-rule prelude, and just look for matching blocks (like parentheses).
This is being re-worked in a smarter parser for Less v5, but there is no timeline currently for that release.
Activity
[-]Line comments aren't stripped from @support selector(...)[/-][+]Line comments aren't stripped from @supports selector(...)[/+]matthew-dean commentedon Jul 13, 2020
It's expected behavior, although of course not ideal. The
@supportstag and some other at-rules that are not explicitly parsed basically allow anything in the at-rule prelude, and just look for matching blocks (like parentheses).This is being re-worked in a smarter parser for Less v5, but there is no timeline currently for that release.