diff --git a/src/pages/EditMaintenance.vue b/src/pages/EditMaintenance.vue
index d668d1ad..da7dee5a 100644
--- a/src/pages/EditMaintenance.vue
+++ b/src/pages/EditMaintenance.vue
@@ -21,6 +21,9 @@
+
+ {{ $t("markdownSupported") }}
+
diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue
index ab7ed69b..3b89ed83 100644
--- a/src/pages/StatusPage.vue
+++ b/src/pages/StatusPage.vue
@@ -244,7 +244,8 @@
class="shadow-box alert mb-4 p-3 bg-maintenance mt-4 position-relative" role="alert"
>
{{ maintenance.title }}
- {{ maintenance.description }}
+
+
@@ -855,6 +856,15 @@ export default {
this.config.domainNameList.splice(index, 1);
},
+ /**
+ * Generate sanitized HTML from maintenance description
+ * @param {string} description
+ * @returns {string} Sanitized HTML
+ */
+ maintenanceHTML(description) {
+ return DOMPurify.sanitize(marked(description));
+ },
+
}
};