bump version to 1.25.4
This commit is contained in:
@@ -18,6 +18,7 @@ const safeConvertor = new showdown.Converter({
|
||||
backslashEscapesHTMLTags: true
|
||||
})
|
||||
|
||||
|
||||
DOMPurify.addHook("uponSanitizeElement", (node: HTMLElement, data) => {
|
||||
if (data.tagName === "iframe") {
|
||||
const src = node.getAttribute("src") || "";
|
||||
@@ -77,8 +78,6 @@ export async function convertImage(data:Uint8Array) {
|
||||
if(type === 'PNG' && isAPNG(data)){
|
||||
return data
|
||||
}
|
||||
|
||||
console.log('converting')
|
||||
return await resizeAndConvert(data)
|
||||
}
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user