From 95e58ebb9fe5114b5c436551c5f5d49104eb2ec9 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Wed, 11 Dec 2013 17:51:56 +0100 Subject: [PATCH] Tweak documentation for `{un,}escape` [ci skip] --- lodash.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 833496b78..5cad4ae2f 100644 --- a/lodash.js +++ b/lodash.js @@ -6242,6 +6242,9 @@ * Converts the characters `&`, `<`, `>`, `"`, and `'` in `string` to their * corresponding HTML entities. * + * Note: No other characters are escaped. To HTML-escape other characters as + * well, use a third-party library like [_he_](http://mths.be/he). + * * @static * @memberOf _ * @category Utilities @@ -6764,10 +6767,13 @@ } /** - * The inverse of `_.escape` this method converts the HTML entities + * The inverse of `_.escape`; this method converts the HTML entities * `&`, `<`, `>`, `"`, and `'` in `string` to their * corresponding characters. * + * Note: No other HTML entities are unescaped. To HTML-unescape other + * entities as well, use a third-party library like [_he_](http://mths.be/he). + * * @static * @memberOf _ * @category Utilities