Permalink
Browse files

Added info about double escaping \\ text blocks

  • Loading branch information...
1 parent 065e5e0 commit 46c6946c55243c647fe371cf9339d798cefd20de @limeblack limeblack committed Aug 9, 2011
Showing with 11 additions and 2 deletions.
  1. +11 −2 Readme.md
View
13 Readme.md
@@ -1,4 +1,3 @@
-
# Jade - template engine
Jade is a high performance template engine heavily influenced by [Haml](http://haml-lang.com)
@@ -240,6 +239,16 @@ outputs:
<p>.</p>
+
+It should be noted that text blocks should be doubled escaped. For example if you desire the following output.
+
+ </p>foo\bar</p>
+
+use:
+
+ p.
+ foo\\bar
+
### Comments
Single line comments currently look the same as JavaScript comments,
@@ -501,7 +510,7 @@ you may use `!=`:
p!= aVarContainingMoreHTML
-The on exception made in terms of allowing "vanilla" JavaScript, is
+The one exception made in terms of allowing "vanilla" JavaScript, is
the `- each` token. This takes the form of:
- each VAL[, KEY] in OBJ

0 comments on commit 46c6946

Please sign in to comment.