summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-01-25 11:52:51 +0100
committerJoas Schilling <coding@schilljs.com>2019-01-25 11:52:51 +0100
commit58799202ebb42397fd5673ac935d97ded5a1a4dc (patch)
tree60055f354f1a96d8095307b7fa078def19bab40e /apps
parentdc5cfdf72c87a8eef7daeb5e97388baf646ea74a (diff)
downloadnextcloud-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.php1
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"], ['&lt;', '&gt;', '<br />'], $message);
$mentionCount = 1;
$mentions = [];