This commit is contained in:
seb
2026-10-07 13:36:16 +02:00
parent 7045fe5e69
commit 8f46e59f08
19 changed files with 299 additions and 66 deletions

View File

@@ -25,8 +25,6 @@ import { VfsAttachmentLink, parseAttachmentTag, classifyLinkTarget, resolveVfsUr
* ~~strike~~, [links](url) and ![images](url).
*/
const SAFE_URL = /^(https?:\/\/|mailto:|\/|#)/i;
/**
* Resolve an image target to something the browser may load.
*