summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-07 16:46:02 +0100
committerGitHub <noreply@github.com>2019-02-07 16:46:02 +0100
commit668b706f02dac4f14592e5d14931832640974bae (patch)
treeadbf74bc3b6ab6bcda20d32752c334404cadde4e /apps/comments/lib
parentbaa6a2d52cb48cb666ae0bfd0f75459c190086f8 (diff)
parent47f63da07cb8fd9edd0cc2751029d14ed39072e6 (diff)
downloadnextcloud-server-668b706f02dac4f14592e5d14931832640974bae.tar.gz
nextcloud-server-668b706f02dac4f14592e5d14931832640974bae.zip
Merge pull request #13819 from nextcloud/bugfix/noid/unify-html-encoding-handling-with-other-ros-apps
Unify the HTML encoding handling with other ROS apps
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 = [];