]> git.openstreetmap.org Git - rails.git/commitdiff
get_text("reversegeocode/result") returns an XML node. We want to get the text value...
authorBrian DeRocher <brian@derocher.org>
Sun, 23 Oct 2022 20:00:38 +0000 (16:00 -0400)
committerBrian DeRocher <brian@derocher.org>
Sun, 23 Oct 2022 20:04:01 +0000 (16:04 -0400)
This will unescape &#039; into an apostrophe.

All callers of this function will later re-encode it depending out output whether it be HTML in an email, or XML in an RSS feed.

* app/mailers/user_mail.rb
* app/helpers/geocode_helper.rb
* app/views/api/notes/feed.rss.builder
* app/views/api/notes/_note.rss.builder

Fixes openstreetmap/openstreetmap-website#3761


No differences found