Fix comment notifications displaying escaped HTML

This commit is contained in:
Andreas Nedbal 2022-07-16 22:15:27 +02:00 committed by Karina Kwiatek
parent ca2cf727e1
commit 2722f4fffb
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
- else
= t(".heading_html",
user: user_screen_name(notification.target.user),
answer: link_to(t(".other.link_text", user: user_screen_name(notification.target.answer.user)), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)),
answer: link_to(t(".other.link_text_html", user: user_screen_name(notification.target.answer.user)), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)),
time: time_tooltip(notification.target))
.list-group
.list-group-item

View File

@ -124,7 +124,7 @@ en:
passive:
link_text: "their answer"
other:
link_text: "%{user}'s answer"
link_text_html: "%{user}'s answer"
reaction:
heading_html: "%{user} smiled %{type} %{time} ago"
answer: