From f9f1072bbdcd98dbfa6a12fd2bf4499ca6bb55bd Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 25 Mar 2016 17:16:25 +0300 Subject: [PATCH] PointParser external post link added and commented. --- .../PointToolsBundle/Service/Markdown/PointParser.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Service/Markdown/PointParser.php b/src/Skobkin/Bundle/PointToolsBundle/Service/Markdown/PointParser.php index 7b4e44a..3105512 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Service/Markdown/PointParser.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Service/Markdown/PointParser.php @@ -201,6 +201,10 @@ class PointParser extends MarkdownParser $href = $this->router->generate('post_show', ['id' => $postId]); $tail = htmlspecialchars($matches[3]); - return $this->hashPart('#'.$postId.''.$tail); + return $this->hashPart( + '#'.$postId.'' + //.'' + .$tail + ); } } \ No newline at end of file