feature: concat filter

This commit is contained in:
harttle
2017-10-30 02:22:56 +08:00
parent a239389044
commit 485424cc89
4 changed files with 41 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ describe('tokenizer', function () {
expect(tokens[1].type).to.equal('value')
expect(tokens[1].value).to.equal('foo | date: "%Y-%m-%d"')
})
it('should handle successive value and tags', function () {
it('should handle consecutive value and tags', function () {
var html = '{{foo}}{{bar}}{%foo%}{%bar%}'
var tokens = parse(html)