From b54997cbf2fdb7d5a01a91764f50bcaa1f4a3ba0 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Thu, 15 Oct 2015 09:00:37 +0900 Subject: [PATCH] improve description of filters section --- source/guide/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/guide/syntax.md b/source/guide/syntax.md index 11020cb2da..2ba420698b 100644 --- a/source/guide/syntax.md +++ b/source/guide/syntax.md @@ -95,7 +95,7 @@ Filters can also take arguments: {{ message | filterA 'arg1' arg2 }} ``` -The filter function always receives the expression's value as the first argument. Quoted arguments are interpreted as plain string, while un-quoted ones will be evaluated as expressions. Here, the plain string `"arg1"` will be passed into the filter as the second argument, and the value of expression `arg2` will be evaluated and passed in as the third argument. +The filter function always receives the expression's value as the first argument. Quoted arguments are interpreted as plain string, while un-quoted ones will be evaluated as expressions. Here, the plain string `'arg1'` will be passed into the filter as the second argument, and the value of expression `arg2` will be evaluated and passed in as the third argument. ## Directives