Skip to content

Commit

Permalink
Merge pull request #14 from anyroadcom/hotfix/single-quotes-on-import
Browse files Browse the repository at this point in the history
Check for single quotes on import statements
  • Loading branch information
mgreter committed Aug 25, 2014
2 parents 044ac7f + 73089d5 commit 0276e20
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 0276e20

Please sign in to comment.