summaryrefslogtreecommitdiffstats
path: root/theme-compiler/src/com/vaadin
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-01-02 14:56:29 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-02 14:56:29 +0000
commit89f050f218516df1d10bcc83803e1cf3f6e96efe (patch)
tree6112c03a5d8717a054bbf23c37e17a82ea0942ea /theme-compiler/src/com/vaadin
parent83e6f7acf0df5ddd23063d9acb9bff158f98d0e0 (diff)
parent9df030ba55101db4a3a35c301769655d6fa7aa08 (diff)
downloadvaadin-framework-89f050f218516df1d10bcc83803e1cf3f6e96efe.tar.gz
vaadin-framework-89f050f218516df1d10bcc83803e1cf3f6e96efe.zip
Merge "fix Ticket #10506, remove quotes in url path"
Diffstat (limited to 'theme-compiler/src/com/vaadin')
-rw-r--r--theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java b/theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java
index 1ba1072767..67e6df6383 100644
--- a/theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java
+++ b/theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java
@@ -100,7 +100,9 @@ public class ImportNodeHandler {
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);