mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
Merge the str_replacements
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
63a1ef9154
commit
87b7dd0af2
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ class Provider implements IProvider {
|
|||
try {
|
||||
$comment = $this->commentsManager->get((string) $commentId);
|
||||
$message = $comment->getMessage();
|
||||
$message = str_replace("\n", '<br />', str_replace(['<', '>'], ['<', '>'], $message));
|
||||
$message = str_replace(['<', '>', "\n"], ['<', '>', '<br />'], $message);
|
||||
|
||||
$mentionCount = 1;
|
||||
$mentions = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue