File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ namespace Sass {
79
79
extern const char keyframes_kwd[] = " keyframes" ;
80
80
extern const char only_kwd[] = " only" ;
81
81
extern const char rgb_kwd[] = " rgb(" ;
82
- extern const char url_kwd[] = " url( " ;
82
+ extern const char url_kwd[] = " url" ;
83
83
// extern const char url_prefix_kwd[] = "url-prefix(";
84
84
extern const char important_kwd[] = " important" ;
85
85
extern const char pseudo_not_kwd[] = " :not(" ;
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ namespace Sass {
81
81
extern const char rgb_kwd[];
82
82
extern const char url_kwd[];
83
83
// extern const char url_prefix_kwd[];
84
- extern const char image_url_kwd[];
85
84
extern const char important_kwd[];
86
85
extern const char pseudo_not_kwd[];
87
86
extern const char even_kwd[];
Original file line number Diff line number Diff line change @@ -642,7 +642,20 @@ namespace Sass {
642
642
// Match CSS uri specifiers.
643
643
644
644
const char * uri_prefix (const char * src) {
645
- return exactly<url_kwd>(src);
645
+ return sequence <
646
+ exactly <
647
+ url_kwd
648
+ >,
649
+ zero_plus <
650
+ sequence <
651
+ exactly <' -' >,
652
+ one_plus <
653
+ alpha
654
+ >
655
+ >
656
+ >,
657
+ exactly <' (' >
658
+ >(src);
646
659
}
647
660
648
661
// TODO: rename the following two functions
You can’t perform that action at this time.
0 commit comments