[openstreetmap/openstreetmap-website] Don't html-escape note description (PR #5605)

Anton Khorev notifications at github.com
Tue Feb 4 15:31:39 UTC 2025


The description is already html-safe after to_html.

This is a leftover from https://github.com/openstreetmap/openstreetmap-website/commit/01aa27031526280d8b1d219902a7b4c97617d19f, we don't explicitly escape other text->richtext->html like note comments.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Don't html-escape note description

-- File Changes --

    M app/views/notes/show.html.erb (2)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5605
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5605 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250204/6590dfa9/attachment.htm>


More information about the rails-dev mailing list