From 824d8e929aa5acba820623366b0f1da5f3521572 Mon Sep 17 00:00:00 2001 From: mshwed Date: Thu, 20 Jun 2019 13:26:35 -0400 Subject: [PATCH] Fixed linting issues --- src/core/operations/FromHTMLEntity.mjs | 4 +--- src/core/operations/ToHTMLEntity.mjs | 9 ++------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/core/operations/FromHTMLEntity.mjs b/src/core/operations/FromHTMLEntity.mjs index a4abc159..5dae6e49 100644 --- a/src/core/operations/FromHTMLEntity.mjs +++ b/src/core/operations/FromHTMLEntity.mjs @@ -1047,8 +1047,6 @@ const entityToByte = { "rbbrk": 10099, "lobrk": 10214, "robrk": 10215, - "lang": 10216, - "rang": 10217, "Lang": 10218, "Rang": 10219, "loang": 10220, @@ -1534,6 +1532,6 @@ const entityToByte = { "xopf": 120169, "yopf": 120170, "zopf": 120171 - } +}; export default FromHTMLEntity; diff --git a/src/core/operations/ToHTMLEntity.mjs b/src/core/operations/ToHTMLEntity.mjs index f99548e0..3493c114 100644 --- a/src/core/operations/ToHTMLEntity.mjs +++ b/src/core/operations/ToHTMLEntity.mjs @@ -346,7 +346,6 @@ const byteToEntity = { 730: "˚", 731: "˛", 732: "˜", - 732: "˜", 785: "̑", 818: "_", 913: "Α", @@ -542,7 +541,6 @@ const byteToEntity = { 8259: "⁃", 8260: "⁄", 8271: "⁏", - 8260: "⁄", 8279: "⁗", 8287: " ", 8288: "⁠", @@ -562,7 +560,6 @@ const byteToEntity = { 8463: "ℏ", 8464: "ℐ", 8465: "ℑ", - 8465: "ℑ", 8466: "ℒ", 8467: "ℓ", 8469: "ℕ", @@ -731,7 +728,6 @@ const byteToEntity = { 8754: "∲", 8755: "∳", 8756: "∴", - 8756: "∴", 8757: "∵", 8758: "∶", 8759: "∷", @@ -768,15 +764,14 @@ const byteToEntity = { 8791: "≗", 8793: "≙", 8794: "≚", - 8796: "≜ ≜", - 8799: "≟ ≟", + 8796: "≜", + 8799: "≟", 8800: "≠", 8801: "≡", 8802: "≢", 8804: "≤", 8805: "≥", 8806: "≦", - 8805: "≥", 8807: "≧", 8808: "≨", 8809: "≩",