[openstreetmap/openstreetmap-website] Notifications: apostrophe in name tag is printed as HTML code (Issue #3761)
Brian DeRocher
notifications at github.com
Sun Oct 23 19:31:34 UTC 2022
Call to Nominatim's reverse API returns this
```xml
<?xml version='1.0' encoding='UTF-8'?>
<reversegeocode
attribution='Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright'
querystring='lat=52.6470900&lon=-7.2599700&zoom=14&accept-language=en'
timestamp='Sun, 23 Oct 22 19:23:58 +0000'>
<result
address_rank='22'
boundingbox='52.6467811,52.6475161,-7.2601399,-7.259252'
lat='52.6471289'
lon='-7.259824032278679'
osm_id='248749698'
osm_type='way'
place_id='167011389'
place_rank='22'
ref='Walkin's Lough Court'>
Walkin's Lough Court, Kilkenny No.1 Urban, Kilkenny, County Kilkenny, Leinster, Ireland
</result>
<addressparts>
<residential>Walkin's Lough Court</residential>
<city_district>Kilkenny No.1 Urban</city_district>
<town>Kilkenny</town>
<county>County Kilkenny</county>
<ISO3166-2-lvl6>IE-KK</ISO3166-2-lvl6>
<region>Leinster</region>
<ISO3166-2-lvl5>IE-L</ISO3166-2-lvl5>
<country>Ireland</country>
<country_code>ie</country_code>
</addressparts>
</reversegeocode>
```
The encoded apostrophe here is fine.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3761#issuecomment-1288182517
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3761/1288182517 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221023/4c42c7d2/attachment-0001.htm>
More information about the rails-dev
mailing list