Skip to content

Commit 036b1e5

Browse files
committed
more robust @import regexp.
1 parent 4012503 commit 036b1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@
653653

654654
<!-- replace imports with h5bp-import tags (part 1) this one wraps @media types -->
655655
<replaceregexp file="${dir.intermediate}/${dir.css}/${file.root.stylesheet}"
656-
match="^@import *url *\( *'?([^'^ ]*)'? *\) *([a-z]*).*$"
656+
match="^@import *url *\( *'?([^'^ ]*)'? *\) *([a-zA-Z, ]*);.*$"
657657
replace="@media \2{ /* h5bp-import: \1 */ }" byline="true" />
658658

659659
<!-- replace imports with h5bp-import tags (part 2) -->

0 commit comments

Comments
 (0)