mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Revert the backtick escape/unescape patch but keep the docs.
This commit is contained in:
@@ -2146,8 +2146,8 @@
|
||||
QUnit.module('lodash.escape');
|
||||
|
||||
(function() {
|
||||
var escaped = '&<>"'`\/',
|
||||
unescaped = '&<>"\'`\/';
|
||||
var escaped = '&<>"'\/',
|
||||
unescaped = '&<>"\'\/';
|
||||
|
||||
test('should escape values', 1, function() {
|
||||
equal(_.escape(unescaped), escaped);
|
||||
@@ -8209,8 +8209,8 @@
|
||||
QUnit.module('lodash.unescape');
|
||||
|
||||
(function() {
|
||||
var escaped = '&<>"'`\/',
|
||||
unescaped = '&<>"\'`\/';
|
||||
var escaped = '&<>"'\/',
|
||||
unescaped = '&<>"\'\/';
|
||||
|
||||
test('should unescape entities in the correct order', 1, function() {
|
||||
equal(_.unescape('&lt;'), '<');
|
||||
|
||||
Reference in New Issue
Block a user