Skip to content

Commit

Permalink
Avoid attempting to (un)escape backticks. [closes #2660]
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Sep 20, 2016
1 parent 5c912bc commit 1cc1602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lodash.js
Expand Up @@ -119,8 +119,8 @@
reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;

/** Used to match HTML entities and HTML characters. */
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,
reUnescapedHtml = /[&<>"'`]/g,
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
reUnescapedHtml = /[&<>"']/g,
reHasEscapedHtml = RegExp(reEscapedHtml.source),
reHasUnescapedHtml = RegExp(reUnescapedHtml.source);

Expand Down

0 comments on commit 1cc1602

Please sign in to comment.