[openstreetmap/openstreetmap-website] Pull changeset comment rich text into separate method (PR #6623)

Marwin Hochfelsner notifications at github.com
Tue Dec 16 10:50:36 UTC 2025


Addresses https://github.com/openstreetmap/openstreetmap-website/pull/6597#discussion_r2601656153 and fixes #6615 by adding a separate method to the changeset model that _actually_ outputs HTML.

I also added a test checking for changeset comment linkification to prevent repeats of #6615.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Pull changeset comment rich text into separate method

-- File Changes --

    M app/models/changeset.rb (1)
    M app/views/browse/_common_details.html.erb (2)
    M app/views/changesets/show.html.erb (2)
    M test/controllers/changesets_controller_test.rb (9)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6623 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251216/450b23c7/attachment.htm>


More information about the rails-dev mailing list