From 58799202ebb42397fd5673ac935d97ded5a1a4dc Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 25 Jan 2019 11:52:51 +0100 Subject: Unify the HTML encoding handling with other ROS apps Signed-off-by: Joas Schilling --- apps/comments/lib/Activity/Provider.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/comments/lib') 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"], ['<', '>', '
'], $message); $mentionCount = 1; $mentions = []; -- cgit v1.2.3