Skip to content

Commit b54997c

Browse files
committed
improve description of filters section
1 parent f3f42c9 commit b54997c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guide/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Filters can also take arguments:
9595
{{ message | filterA 'arg1' arg2 }}
9696
```
9797

98-
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.
98+
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.
9999

100100
## Directives
101101

0 commit comments

Comments
 (0)