]> git.openstreetmap.org Git - rails.git/commit
Use _html suffix to avoid using raw when displaying translated strings
authorAndy Allan <git@gravitystorm.co.uk>
Fri, 20 Dec 2019 09:29:07 +0000 (10:29 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Fri, 20 Dec 2019 09:29:07 +0000 (10:29 +0100)
commitdfedf85b6ca076c4c95f10ea3d9649d1a4de6818
tree003f08e2d9e8482e24515289c087b5a346c8fb23
parent01a506a254cf53700c201d40b4287e5aae02af2c
Use _html suffix to avoid using raw when displaying translated strings

This is safer than raw, since any user input is still escaped.
app/views/diary_entries/_diary_comment.html.erb
app/views/diary_entries/_diary_entry.html.erb
app/views/diary_entries/show.html.erb
app/views/messages/inbox.html.erb
app/views/messages/new.html.erb
app/views/messages/outbox.html.erb
app/views/site/_potlatch2.html.erb
app/views/users/show.html.erb
config/locales/en.yml