diff --git a/index.html b/index.html index 8c8e7c914..b2d4a850b 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@ noConflict, identity, times, mixin, uniqueId, - template + escape, template
@@ -1183,6 +1183,16 @@ _("fabio").capitalize(); _.uniqueId('contact_'); => 'contact_104' +
+ escape_.escape(string)
+
+ Escapes a string for insertion into HTML, replacing
+ &, <, >, ", ', and / characters.
+
+_.escape('Curly, Larry & Moe');
+=> "Curly, Larry & Moe"
+
template_.template(templateString, [context])