trim the string before passing it off to ol.expr.parse

This commit is contained in:
Bart van den Eijnden
2013-08-09 11:08:19 +02:00
parent deb88a5a6d
commit 29954d2ff9
2 changed files with 1 additions and 1 deletions

BIN
src/ol/expr/.parser.js.swp Normal file

Binary file not shown.

View File

@@ -49,7 +49,7 @@ ol.parser.ogc.Filter_v1 = function() {
break;
}
}
return ol.expr.parse(value);
return ol.expr.parse(goog.string.trim(value));
},
'Filter': function(node, obj) {
var container = {