chore: npm run format

This commit is contained in:
2026-01-23 20:43:58 -05:00
parent 63f55d2bda
commit 91810d284f
3 changed files with 54 additions and 47 deletions
+5 -1
View File
@@ -10,7 +10,11 @@ const tagMap: Record<string, string> = {
IFRAME: 'iframe'
};
export async function parseMarkdown(md: string, preventExternal: boolean = true, allowTrustedDomains: boolean = true): Promise<string> {
export async function parseMarkdown(
md: string,
preventExternal: boolean = true,
allowTrustedDomains: boolean = true
): Promise<string> {
const html = await marked.parse(md);
let dom: WindowLike & { document: Document };