mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Avoid attempting to (un)escape backticks. [closes #2660]
This commit is contained in:
@@ -119,8 +119,8 @@
|
|||||||
reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
|
reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
|
||||||
|
|
||||||
/** Used to match HTML entities and HTML characters. */
|
/** Used to match HTML entities and HTML characters. */
|
||||||
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,
|
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
|
||||||
reUnescapedHtml = /[&<>"'`]/g,
|
reUnescapedHtml = /[&<>"']/g,
|
||||||
reHasEscapedHtml = RegExp(reEscapedHtml.source),
|
reHasEscapedHtml = RegExp(reEscapedHtml.source),
|
||||||
reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
|
reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user