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
Binary file not shown.
+1 -1
View File
@@ -49,7 +49,7 @@ ol.parser.ogc.Filter_v1 = function() {
break; break;
} }
} }
return ol.expr.parse(value); return ol.expr.parse(goog.string.trim(value));
}, },
'Filter': function(node, obj) { 'Filter': function(node, obj) {
var container = { var container = {