From b37e973463ae3931234083da80870ef2e8c5f920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lipi=C5=84ski?= Date: Thu, 9 Feb 2017 17:19:31 +0100 Subject: [PATCH] unescape broken after remove semicolons action (#2986) --- unescape.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/unescape.js b/unescape.js index abf1c0b26..55f053169 100644 --- a/unescape.js +++ b/unescape.js @@ -2,11 +2,11 @@ import toString from './toString.js' /** Used to map HTML entities to characters. */ const htmlUnescapes = { - '&: '&', - '<: '<', - '>: '>', - '": '"', - '': "'" + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" } /** Used to match HTML entities and HTML characters. */