Skip to content

Commit

Permalink
Specify unescaped entities.
Browse files Browse the repository at this point in the history
  • Loading branch information
braddunbar committed Oct 22, 2012
1 parent a16d61e commit 1d8ef64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1503,8 +1503,10 @@ <h2 id="utility">Utility Functions</h2>
<p id="unescape">
<b class="header">unescape</b><code>_.unescape(string)</code>
<br />
The opposite of <a href="#escape"><b>escape</b></a>, replaces escaped
HTML entities with with their unescaped counterparts.
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>
with their unescaped counterparts.
</p>
<pre>
_.escape('Curly, Larry &amp;amp; Moe');
Expand Down

0 comments on commit 1d8ef64

Please sign in to comment.