From 7324c12636b2615d3780c5bcd11883ae71d7c4ff Mon Sep 17 00:00:00 2001
From: Julian Rother <julian@cccv.de>
Date: Mon, 25 Apr 2022 14:15:18 +0200
Subject: [PATCH] Disable mangling/escaping of autolinked email address

Fixes #4
---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index a04ba84..ffd19f3 100644
--- a/public/index.html
+++ b/public/index.html
@@ -160,7 +160,7 @@ const userLink = {
 		return `--- //[[user:${token.username}]]//`;
 	}
 };
-marked.use({extensions: [userLink]});
+marked.use({extensions: [userLink], mangle: false});
 
 function convert_text() {
 	let input = document.getElementById("text-input").value;
-- 
GitLab