Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add width and height to allowed attributes
Defelo committed 8 months ago
commit ed41e5529a77bd7825bfb95536148da6a2692997
parent d5cf0612d5ff7cadf5efdf912ad1fefb6667546d
1 file changed +3 -1
modified src/lib/markdown.ts
@@ -18,14 +18,16 @@ dompurify.setConfig({
    "align",
    "checked",
    "class",
+
    "height",
    "href",
    "id",
    "name",
+
    "src",
    "target",
    "text",
    "title",
-
    "src",
    "type",
+
    "width",
  ],
  ALLOWED_TAGS: [
    "a",