From 44b027e8b2c42cde1577d709c9cf8ea468c6feef Mon Sep 17 00:00:00 2001 From: Ategon Date: Tue, 11 Feb 2025 02:58:31 -0500 Subject: [PATCH] Fix links --- src/helpers/sanitize.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/sanitize.ts b/src/helpers/sanitize.ts index 4c0cf8e..cc6fdfb 100644 --- a/src/helpers/sanitize.ts +++ b/src/helpers/sanitize.ts @@ -6,6 +6,7 @@ export function sanitize(content: string) { allowedAttributes: { img: ["src", "style"], p: ["style"], + a: ["target", "rel", "href"], }, allowedStyles: { img: {