Browse files

Add a note in the README about raise_on_context_miss

  • Loading branch information...
1 parent 6bce37e commit 6f73fdf4daa9e2a8a344065e7b00b763e8c03d75 @defunkt defunkt committed Oct 17, 2009
Showing with 5 additions and 3 deletions.
  1. +5 −3
@@ -103,9 +103,11 @@ The most basic tag is the variable. A `{{name}}` tag in a basic
template will try to call the `name` method on your view. If there is
no `name` method, an exception will be raised.
-All variables are HTML escaped by default. If you want, for some
-reason, to return unescaped HTML you can use the triple mustache:
+All variables are HTML escaped by default. If you want to return
+unescaped HTML, use the triple mustache: `{{{name}}}`.
+By default a variable "miss" returns an empty string. You can
+configure this by setting `Mustache.raise_on_context_miss` to true.
### Boolean Sections

0 comments on commit 6f73fdf

Please sign in to comment.