template variables with spaces are not replaced correctly fixed #129

This commit is contained in:
javi
2014-02-06 17:33:26 +01:00
parent ab7d603171
commit 78f69d5236
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -343,11 +343,11 @@ suite('template_maps', function() {
global_cartocss_version: '2.0.2',
layers: [
{ options: {
sql: "select '<%= name %>' || id, g from t",
sql: "select '<%=name %>' || id, g from t",
cartocss: '#layer { marker-fill:<%= fill %>; }'
} },
{ options: {
sql: "select fun('<%= name %>') g from x",
sql: "select fun('<%= name%>') g from x",
cartocss: '#layer { line-color:<%= color %>; marker-fill:<%= color %>; }'
} },
{ options: {