+ can use mid: URL scheme in markdown links (GH-126)

This commit is contained in:
maxpozdeev 2026-01-03 18:27:46 +03:00
parent 6f5f329c12
commit 1c86b1f606

View file

@ -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)