mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix issue #7366 render custom html element as hiccup no longger working. dompurify remove is attribute from hiccup
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
(:require ["dompurify" :as DOMPurify]))
|
||||
|
||||
(def sanitization-options (clj->js {:ADD_TAGS ["iframe"]
|
||||
:ALLOW_UNKNOWN_PROTOCOLS true}))
|
||||
:ALLOW_UNKNOWN_PROTOCOLS true
|
||||
:ALLOWED_ATTR ["is"]}))
|
||||
|
||||
(defn sanitize-html
|
||||
[html]
|
||||
|
||||
Reference in New Issue
Block a user