Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Add width and height to allowed attributes
Defelo committed 7 months ago
commit ed41e5529a77bd7825bfb95536148da6a2692997
parent d5cf061
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",