taking single quote into consideration
Change-Id: I966ffeba8a60c7c16980cca3dfa69935e0aca67b
LexicalUnit value = ((RuleNode) child).getValue();
while (value != null) {
if (value.getLexicalUnitType() == LexicalUnit.SAC_URI) {
- String path = value.getStringValue();
+ String path = value.getStringValue()
+ .replaceAll("^\"|\"$", "")
+ .replaceAll("^'|'$", "");
if (!path.startsWith("/") && !path.contains(":")) {
path = prefix + path;
path = StringUtil.cleanPath(path);
--- /dev/null
+.bar {
+ background: url(foo/lorem.png);
+ background: url(foo/lorem.png);
+ background: url(foo/lorem.png);
+}
\ No newline at end of file
--- /dev/null
+.bar {
+ background: url("lorem.png");
+ background: url('lorem.png');
+ background: url(lorem.png);
+}
\ No newline at end of file
--- /dev/null
+@import "foo/bar.scss";
\ No newline at end of file