From 372c6b90783ec3fdc7ac0ebbd7a58f6a0de2ecdd Mon Sep 17 00:00:00 2001 From: Andreas Brett Date: Mon, 20 Feb 2023 16:09:17 +0100 Subject: [PATCH] add markdown support for description --- src/pages/StatusPage.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index dcee15e7b..f4a6eb76d 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -20,6 +20,9 @@
+
+ {{ $t("markdownSupported") }} +
@@ -258,7 +261,9 @@ {{ $t("Description") }}: - + + +
@@ -500,6 +505,10 @@ export default { return DOMPurify.sanitize(marked(this.incident.content)); }, + descriptionHTML() { + return DOMPurify.sanitize(marked(this.config.description)); + }, + footerHTML() { return DOMPurify.sanitize(marked(this.config.footerText)); },