[openstreetmap/openstreetmap-website] Avoid some (more) uses of html_safe (#2919)

Andy Allan notifications at github.com
Wed Oct 28 13:49:18 UTC 2020


We can use `html_safe` on non-interpolated strings, since that's trusted content.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2919

-- Commit Summary --

  * Avoid some uses of html_safe

-- File Changes --

    M .rubocop_todo.yml (3)
    M app/helpers/changesets_helper.rb (2)
    M app/helpers/geocoder_helper.rb (4)
    M app/helpers/user_blocks_helper.rb (20)
    M config/locales/en.yml (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2919.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2919.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2919
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201028/e5dc8885/attachment.htm>


More information about the rails-dev mailing list