Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-01-25 13:52:51 +0300
committerJoas Schilling <coding@schilljs.com>2019-01-25 13:52:51 +0300
commit58799202ebb42397fd5673ac935d97ded5a1a4dc (patch)
tree60055f354f1a96d8095307b7fa078def19bab40e /apps/comments/lib
parentdc5cfdf72c87a8eef7daeb5e97388baf646ea74a (diff)
Unify the HTML encoding handling with other ROS apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments/lib')
-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 = [];