PointParser external post link added and commented.

This commit is contained in:
Alexey Skobkin 2016-03-25 17:16:25 +03:00
parent c4182e3621
commit f9f1072bbd

View file

@ -201,6 +201,10 @@ class PointParser extends MarkdownParser
$href = $this->router->generate('post_show', ['id' => $postId]); $href = $this->router->generate('post_show', ['id' => $postId]);
$tail = htmlspecialchars($matches[3]); $tail = htmlspecialchars($matches[3]);
return $this->hashPart('<a href="'.$href.'" class="post">#'.$postId.'</a>'.$tail); return $this->hashPart(
'<a href="'.$href.'" class="post">#'.$postId.'</a>'
//.'<a href="https://point.im/'.$postId.'"><span class="glyphicon glyphicon-link"></span></a>'
.$tail
);
} }
} }