From: peter Date: Sun, 3 Feb 2019 09:33:15 +0000 (+0100) Subject: Markdown - fixed bug in local anchor links, optimized replacer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ca762001b25d3a81eede8ea7cc814eb727609cf;p=friendica.git Markdown - fixed bug in local anchor links, optimized replacer --- diff --git a/src/Content/Text/Markdown.php b/src/Content/Text/Markdown.php index 4e00ae7810..686a907b8f 100644 --- a/src/Content/Text/Markdown.php +++ b/src/Content/Text/Markdown.php @@ -34,7 +34,7 @@ class Markdown extends BaseObject $MarkdownParser->hard_wrap = $hardwrap; $MarkdownParser->code_class_prefix = 'language-'; $html = $MarkdownParser->transform($text); - $html = str_replace('