Open oradwell opened 8 years ago
@import "sprites/*.png"; /* some comment */ .this-class { background-color: #666; }
Assetic\Util\CssUtils::filterCommentless() returns:
Assetic\Util\CssUtils::filterCommentless()
@import "sprites .this-class { background-color: #666; }
Assetic\Util\CssUtils::filterCommentless() should ignore comment start (/*) if it is inside a string
/*
Original regex: https://regex101.com/r/wV0aB8/6
Fixed: https://regex101.com/r/yU7rT3/5
pls review
Assetic\Util\CssUtils::filterCommentless()
returns:Assetic\Util\CssUtils::filterCommentless()
should ignore comment start (/*
) if it is inside a string