diff options
author | Joas Schilling <coding@schilljs.com> | 2019-01-25 11:52:51 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-01-25 11:52:51 +0100 |
commit | 58799202ebb42397fd5673ac935d97ded5a1a4dc (patch) | |
tree | 60055f354f1a96d8095307b7fa078def19bab40e /apps | |
parent | dc5cfdf72c87a8eef7daeb5e97388baf646ea74a (diff) | |
download | nextcloud-server-58799202ebb42397fd5673ac935d97ded5a1a4dc.tar.gz nextcloud-server-58799202ebb42397fd5673ac935d97ded5a1a4dc.zip |
Unify the HTML encoding handling with other ROS apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/comments/lib/Activity/Provider.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php index 719d4c8bb56..5b0a976ef96 100644 --- a/apps/comments/lib/Activity/Provider.php +++ b/apps/comments/lib/Activity/Provider.php @@ -204,7 +204,6 @@ class Provider implements IProvider { try { $comment = $this->commentsManager->get((string) $commentId); $message = $comment->getMessage(); - $message = str_replace(['<', '>', "\n"], ['<', '>', '<br />'], $message); $mentionCount = 1; $mentions = []; |