Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit c0a6cf3

Browse files
committed
Fix handling of unclosed interpolant in url
Fixes #2661
1 parent 210fdff commit c0a6cf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,6 +2163,7 @@ namespace Sass {
21632163
while (pp && peek< exactly< hash_lbrace > >(pp)) {
21642164
pp = sequence< interpolant, real_uri_value >(pp);
21652165
}
2166+
if (!pp) return 0;
21662167
position = pp;
21672168
return parse_interpolated_chunk(Token(p, position));
21682169
}

0 commit comments

Comments
 (0)