[openstreetmap/openstreetmap-website] Fix malformed tags table in changeset atom feed (PR #3755)

Malte Gerken notifications at github.com
Mon Oct 17 13:40:35 UTC 2022


Prior to this change, the feed contained XHTML like
```xhtml
              <table cellpadding="0">
                <tr>
                  <td/>
changesets_count = 1                </tr>
                <tr>
                  <td/>
comment = Test                </tr>
                <tr>
                  <td/>
created_by = iD 2.22.0                </tr>
                <tr>
                  <td/>
host = http://localhost:3000/edit                </tr>
                <tr>
                  <td/>
imagery_used = Bing Maps Aerial                </tr>
                <tr>
                  <td/>
locale = en-US                </tr>
              </table>
```

after this change this is correctly rendered as
```xhtml
<table cellpadding="0">
  <tr>
    <td>changesets_count = 1</td>
  </tr>
  <tr>
    <td>comment = Test</td>
  </tr>
  <tr>
    <td>created_by = iD 2.22.0</td>
  </tr>
  <tr>
    <td>host = http://localhost:3000/edit</td>
  </tr>
  <tr>
    <td>imagery_used = Bing Maps Aerial</td>
  </tr>
  <tr>
    <td>locale = en-US</td>
  </tr>
</table>
```
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix malformed tags table in changeset atom feed

-- File Changes --

    M app/views/changesets/index.atom.builder (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list