Make comment notifications more informative

Quote length increased to 400 also tags are being stripped now
This commit is contained in:
celestora 2022-12-11 16:27:46 +02:00
parent 25be996256
commit d321b524fd

View file

@ -8,6 +8,6 @@ final class CommentNotification extends Notification
function __construct(User $recipient, Comment $comment, $postable, User $commenter)
{
parent::__construct($recipient, $postable, $commenter, time(), ovk_proc_strtr($comment->getText(), 10));
parent::__construct($recipient, $postable, $commenter, time(), ovk_proc_strtr(strip_tags($comment->getText()), 400));
}
}