diff options
author | ale <ale@incal.net> | 2017-12-18 22:36:42 +0000 |
---|---|---|
committer | ale <ale@incal.net> | 2017-12-18 22:36:42 +0000 |
commit | 680d0e4b1b207f43d6f798f35c1fa326ce17ed29 (patch) | |
tree | cfe58ee6a4a129fd0cb275bd22e1eaa72f821dd8 /analysis | |
parent | b4be821f8439fbb966423094594707545500a197 (diff) | |
download | crawl-680d0e4b1b207f43d6f798f35c1fa326ce17ed29.tar.gz crawl-680d0e4b1b207f43d6f798f35c1fa326ce17ed29.zip |
Add support for @import syntax in css
Diffstat (limited to 'analysis')
-rw-r--r-- | analysis/links.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/analysis/links.go b/analysis/links.go index a51a467..9fdf8fb 100644 --- a/analysis/links.go +++ b/analysis/links.go @@ -14,7 +14,7 @@ import ( ) var ( - urlcssRx = regexp.MustCompile(`.*:.*url\(["']?([^'"\)]+)["']?\)`) + urlcssRx = regexp.MustCompile(`(@import|.*:).*url\(["']?([^'"\)]+)["']?\)`) linkMatches = []struct { tag string |