Merge pull request #1035 from basecamp/plain-text-fix

Don't render HTML stripping the tags for comment bodies, use to_plain_text instead
This commit is contained in:
Jorge Manrubia
2025-09-08 08:42:03 +02:00
committed by GitHub
+1 -1
View File
@@ -85,7 +85,7 @@ module NotificationsHelper
def comment_notification_body(event)
comment = event.eventable
strip_tags(comment.body.to_s).truncate(200)
comment.body.to_plain_text.truncate(200)
end
def card_notification_title(card)