Revert the backtick escape/unescape patch but keep the docs.

This commit is contained in:
John-David Dalton
2014-01-31 02:05:43 -08:00
parent 65258d5b6a
commit 733da570c8
9 changed files with 202 additions and 226 deletions

View File

@@ -2146,8 +2146,8 @@
QUnit.module('lodash.escape');
(function() {
var escaped = '&<>"'`\/',
unescaped = '&<>"\'`\/';
var escaped = '&amp;&lt;&gt;&quot;&#39;\/',
unescaped = '&<>"\'\/';
test('should escape values', 1, function() {
equal(_.escape(unescaped), escaped);
@@ -8209,8 +8209,8 @@
QUnit.module('lodash.unescape');
(function() {
var escaped = '&amp;&lt;&gt;&quot;&#39;&#96;\/',
unescaped = '&<>"\'`\/';
var escaped = '&amp;&lt;&gt;&quot;&#39;\/',
unescaped = '&<>"\'\/';
test('should unescape entities in the correct order', 1, function() {
equal(_.unescape('&amp;lt;'), '&lt;');