Fix comment notifications displaying escaped HTML
This commit is contained in:
parent
ca2cf727e1
commit
2722f4fffb
|
@ -17,7 +17,7 @@
|
||||||
- else
|
- else
|
||||||
= t(".heading_html",
|
= t(".heading_html",
|
||||||
user: user_screen_name(notification.target.user),
|
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))
|
time: time_tooltip(notification.target))
|
||||||
.list-group
|
.list-group
|
||||||
.list-group-item
|
.list-group-item
|
||||||
|
|
|
@ -124,7 +124,7 @@ en:
|
||||||
passive:
|
passive:
|
||||||
link_text: "their answer"
|
link_text: "their answer"
|
||||||
other:
|
other:
|
||||||
link_text: "%{user}'s answer"
|
link_text_html: "%{user}'s answer"
|
||||||
reaction:
|
reaction:
|
||||||
heading_html: "%{user} smiled %{type} %{time} ago"
|
heading_html: "%{user} smiled %{type} %{time} ago"
|
||||||
answer:
|
answer:
|
||||||
|
|
Loading…
Reference in New Issue