Merge pull request #1534 from Retrospring/fix/question-markdown-notification

Use `question_markdown` helper for questions in notifications
This commit is contained in:
Karina J. Kwiatek 2023-12-20 23:13:42 +00:00 committed by GitHub
commit f2143981a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
.list-group
.list-group-item
%h6.notification__list-heading= t("activerecord.models.question.one")
= markdown notification.target.question.content[0..60] + (notification.target.question.content.length > 60 ? "[…]" : "")
= question_markdown notification.target.question.content[0..60] + (notification.target.question.content.length > 60 ? "[…]" : "")
.list-group-item
%h6.notification__list-heading= t("activerecord.models.answer.one")
= markdown notification.target.content[0..60] + (notification.target.content.length > 60 ? "[…]" : "")