From 8672ade3146757a25d19a631fe318a31048ac4bf Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 28 May 2019 22:24:16 -0700 Subject: [PATCH] fix: unescape html in card titles/descriptions (#1252) --- src/routes/_components/status/StatusCard.html | 7 ++- src/routes/_thirdparty/unescape/LICENSE | 21 +++++++ src/routes/_thirdparty/unescape/unescape.js | 63 +++++++++++++++++++ 3 files changed, 89 insertions(+), 2 deletions(-) create mode 100644 src/routes/_thirdparty/unescape/LICENSE create mode 100644 src/routes/_thirdparty/unescape/unescape.js diff --git a/src/routes/_components/status/StatusCard.html b/src/routes/_components/status/StatusCard.html index 70c5733..a1606f5 100644 --- a/src/routes/_components/status/StatusCard.html +++ b/src/routes/_components/status/StatusCard.html @@ -1,6 +1,6 @@ - {title} + {unescapedTitle} {#if description}
@@ -10,7 +10,7 @@
{/if} - {description} + {unescapedDescription} {/if} @@ -87,6 +87,7 @@