Unify the HTML encoding handling with other ROS apps

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/13819/head
Joas Schilling 7 years ago
parent dc5cfdf72c
commit 58799202eb
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
  1. 1
      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 = [];

Loading…
Cancel
Save