]> git.openstreetmap.org Git - rails.git/commit
Use _html suffix to avoid using raw when displaying translated strings
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 16:13:41 +0000 (17:13 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 16:13:41 +0000 (17:13 +0100)
commit8dba8cd4a0deafc51ea5b1efcd91754b68f5bff8
tree70137bbacfb7e700d8adc56058d2c440d49fca2a
parentdddef7672e37e85e14af7aa2ffbd95214bd2689f
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/browse/_containing_relation.html.erb
app/views/browse/_relation_member.html.erb
app/views/browse/_way.html.erb
app/views/browse/feature.html.erb
app/views/geocoder/search.html.erb
app/views/site/copyright.html.erb
config/locales/en.yml