Skip to content

Commit

Permalink
Check for single quotes on import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bowd committed Aug 25, 2014
1 parent 044ac7f commit 73089d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sass2scss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ namespace Sass
size_t pos_import = sass.find_first_of(" \t\n\v\f\r", pos_left + 7);
size_t pos_quote = sass.find_first_not_of(" \t\n\v\f\r", pos_import);
// check if the url is quoted
if (sass.substr(pos_quote, 1) != "\"")
if (sass.substr(pos_quote, 1) != "\"" && sass.substr(pos_quote, 1) != "\'")
{
// get position of the last char on the line
size_t pos_end = sass.find_last_not_of(" \t\n\v\f\r");
Expand Down

0 comments on commit 73089d5

Please sign in to comment.