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/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev