Skip to content

Commit f1aa8d6

Browse files
committed
Merge pull request #141 from vuejs-jp/improve/syntax
improve description of filters section
2 parents 006b125 + b54997c commit f1aa8d6

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)