fixed xss bug in comment view partial.
This commit is contained in:
parent
32fc6212ab
commit
07a8fa8bb6
1 changed files with 1 additions and 1 deletions
|
|
@ -7,6 +7,6 @@
|
||||||
= person_image_tag(post.person)
|
= person_image_tag(post.person)
|
||||||
%span.from
|
%span.from
|
||||||
= link_to post.person.real_name, post.person
|
= link_to post.person.real_name, post.person
|
||||||
= auto_link post.text
|
= auto_link sanitize post.text
|
||||||
%div.time
|
%div.time
|
||||||
= "#{time_ago_in_words(post.updated_at)} ago"
|
= "#{time_ago_in_words(post.updated_at)} ago"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue