PointParser external post link added and commented.
This commit is contained in:
parent
c4182e3621
commit
f9f1072bbd
|
@ -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
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue