From 1c86b1f60619611b44d20a4133ebffef8c05cfea Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Sat, 3 Jan 2026 18:27:46 +0300 Subject: [PATCH] + can use mid: URL scheme in markdown links (GH-126) --- src/includes/markup.parsedown.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/includes/markup.parsedown.php b/src/includes/markup.parsedown.php index 26b8be4..2ad659b 100644 --- a/src/includes/markup.parsedown.php +++ b/src/includes/markup.parsedown.php @@ -40,6 +40,9 @@ class MTTParsedown extends Parsedown $this->InlineTypes['#'][]= 'TaskId'; $this->inlineMarkerList .= '#'; + + // Allow RFC2392 Message-ID URI scheme in links + $this->safeLinksWhitelist[] = 'mid:'; } public function setToExternal(bool $v)