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
1 changed files with 5 additions and 1 deletions

View File

@ -201,6 +201,10 @@ class PointParser extends MarkdownParser
$href = $this->router->generate('post_show', ['id' => $postId]);
$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
);
}
}