mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
+ can use mid: URL scheme in markdown links (GH-126)
This commit is contained in:
parent
6f5f329c12
commit
1c86b1f606
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue