Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

add arguments to escape filter docs

  • Loading branch information...
commit 6df3fe59de057be2e22ba8263bf30224cac611d1 1 parent 39a1eee
@paularmstrong authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/
6 docs/
@@ -196,10 +196,14 @@ If the variable is `undefined`, `null`, or `false`, a default return value can b
1. <var>**value**</var> (_mixed_) Fallback value if the variable is falsy.
-### escape / e
+### escape([type]) / e([type])
Force escape the output of the variable. Optionally use `e` as a shortcut filter name.
+#### Arguments
+1. <var>**type**</var> (_string_) _optional_ passing "js" as the type will force JavaScript-safe escaping.
### first
Returns the first element of an array. Uses [underscore.js first](
Please sign in to comment.
Something went wrong with that request. Please try again.