Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Fix inline emphasis tags in markdown output
Daniel Norman committed 7 days ago
commit b6743c63fc94959c9c4b38f7f9aec6678811e5c5
parent c45c919
1 file changed +5 -0
modified src/lib/markdown.ts
@@ -31,14 +31,17 @@ dompurify.setConfig({
  ],
  ALLOWED_TAGS: [
    "a",
+
    "b",
    "blockquote",
    "br",
    "code",
    "dd",
+
    "del",
    "div",
    "dl",
    "dt",
    "em",
+
    "i",
    "h1",
    "h2",
    "h3",
@@ -53,6 +56,8 @@ dompurify.setConfig({
    "p",
    "pre",
    "radicle-external-link",
+
    "s",
+
    "strong",
    "table",
    "tbody",
    "td",