Allow many spaces and tabs after @import in CSS
This commit is contained in:
parent
afa2f339e6
commit
5fcbc839bb
@ -41,8 +41,8 @@ _File = collections.namedtuple("_File",
|
||||
|
||||
|
||||
_CSS_URL_PATTERNS = [re.compile(x) for x in [
|
||||
r"@import '(?P<url>[^']+)'",
|
||||
r'@import "(?P<url>[^"]+)"',
|
||||
r"@import\s+'(?P<url>[^']+)'",
|
||||
r'@import\s+"(?P<url>[^"]+)"',
|
||||
r'''url\((?P<url>[^'"][^)]*)\)''',
|
||||
r'url\("(?P<url>[^"]+)"\)',
|
||||
r"url\('(?P<url>[^']+)'\)",
|
||||
|
Loading…
Reference in New Issue
Block a user