[feat] realm enchanments
This commit is contained in:
@@ -19,6 +19,7 @@ const safeConvertor = new showdown.Converter({
|
||||
})
|
||||
|
||||
|
||||
|
||||
DOMPurify.addHook("uponSanitizeElement", (node: HTMLElement, data) => {
|
||||
if (data.tagName === "iframe") {
|
||||
const src = node.getAttribute("src") || "";
|
||||
|
||||
Reference in New Issue
Block a user