From 8e2fd300f6cbd884ce8a964d0d933b5e3d827936 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 22 Apr 2017 16:13:55 -0700 Subject: [PATCH] Delete an encode table because when & is encoded, it affect other encodes due to they use & --- browser/lib/htmlTextHelper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/browser/lib/htmlTextHelper.js b/browser/lib/htmlTextHelper.js index 7cb9e5fe..884e8744 100644 --- a/browser/lib/htmlTextHelper.js +++ b/browser/lib/htmlTextHelper.js @@ -26,7 +26,6 @@ export function decodeEntities (text) { export function encodeEntities (text) { const entities = [ ['\'', 'apos'], - ['&', 'amp'], ['<', 'lt'], ['>', 'gt'], ['\\?', '#63']