Merge the str_replacements
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
8e48140c86
commit
ec12353f47
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class Provider implements IProvider {
|
||||||
try {
|
try {
|
||||||
$comment = $this->commentsManager->get((string) $commentId);
|
$comment = $this->commentsManager->get((string) $commentId);
|
||||||
$message = $comment->getMessage();
|
$message = $comment->getMessage();
|
||||||
$message = str_replace("\n", '<br />', str_replace(['<', '>'], ['<', '>'], $message));
|
$message = str_replace(['<', '>', "\n"], ['<', '>', '<br />'], $message);
|
||||||
|
|
||||||
$mentionCount = 1;
|
$mentionCount = 1;
|
||||||
$mentions = [];
|
$mentions = [];
|
||||||
|
|
Loading…
Reference in a new issue