Unify the HTML encoding handling with other ROS apps

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-01-25 11:52:51 +01:00
parent dc5cfdf72c
commit 58799202eb
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View file

@ -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 = [];