Escape person.name in comment

This commit is contained in:
Dorian 2010-12-26 02:09:25 +01:00
parent 3e9cce2a4b
commit d6e72cd2bb

View file

@ -129,7 +129,7 @@ module ApplicationHelper
def person_link(person)
"<a href='/people/#{person.id}'>
#{person.name}
#{h(person.name)}
</a>".html_safe
end