diff --git a/src/parser.js b/src/parser.js index 90861ac2..0b2cca28 100644 --- a/src/parser.js +++ b/src/parser.js @@ -337,7 +337,7 @@ var Parser = Object.extend({ } var node = new nodeType(tag.lineno, tag.colno); - node.template = this.parsePrimary(); + node.template = this.parseExpression(); this.advanceAfterBlockEnd(tag.value); return node;