Skip to content

Commit

Permalink
update documentation to reflect jashkenas#1189
Browse files Browse the repository at this point in the history
`/` is now longer escaped to `&#x2F` and vice-versa
  • Loading branch information
c089 committed Nov 7, 2013
1 parent 82f9350 commit 3fd5a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ <h2 id="utility">Utility Functions</h2>
<b class="header">escape</b><code>_.escape(string)</code>
<br />
Escapes a string for insertion into HTML, replacing
<tt>&amp;</tt>, <tt>&lt;</tt>, <tt>&gt;</tt>, <tt>&quot;</tt>, <tt>&#x27;</tt>, and <tt>&#x2F;</tt> characters.
<tt>&amp;</tt>, <tt>&lt;</tt>, <tt>&gt;</tt>, <tt>&quot;</tt>, and <tt>&#x27;</tt> characters.
</p>
<pre>
_.escape('Curly, Larry &amp; Moe');
Expand All @@ -1616,7 +1616,7 @@ <h2 id="utility">Utility Functions</h2>
<br />
The opposite of <a href="#escape"><b>escape</b></a>, replaces
<tt>&amp;amp;</tt>, <tt>&amp;lt;</tt>, <tt>&amp;gt;</tt>,
<tt>&amp;quot;</tt>, <tt>&amp;#x27;</tt>, and <tt>&amp;#x2F;</tt>
<tt>&amp;quot;</tt>, and <tt>&amp;#x27;</tt>
with their unescaped counterparts.
</p>
<pre>
Expand Down

0 comments on commit 3fd5a73

Please sign in to comment.