Skip to content
Snippets Groups Projects
Unverified Commit ec12353f authored by Joas Schilling's avatar Joas Schilling
Browse files

Merge the str_replacements

parent 8e48140c
No related branches found
No related tags found
No related merge requests found
...@@ -204,7 +204,7 @@ class Provider implements IProvider { ...@@ -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(['<', '>'], ['&lt;', '&gt;'], $message)); $message = str_replace(['<', '>', "\n"], ['&lt;', '&gt;', '<br />'], $message);
$mentionCount = 1; $mentionCount = 1;
$mentions = []; $mentions = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment