Fix comment notifications displaying escaped HTML
This commit is contained in:
parent
ca2cf727e1
commit
2722f4fffb
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue