[openstreetmap-website] Notes RSS feed contains doubly encoded HTML-tags (#259)

Martin Raifer notifications at github.com
Tue May 7 09:59:49 UTC 2013

The date/time/user information looks like this in my RSS-reader.

    Created <span title=" 7 May 2013 at 09:22">3 minutes</span> ago by <a href="http://www.openstreetmap.org/user/tyr_asd">tyr_asd</a>

Apparently, the `<span>` and `<a>` tags are XML-encoded (but shouldn't):

    <div class="note-comment-description" style="font-size: smaller; color: #999999">Created <span title=" 7 May 2013 at 09:22">3 minutes</span> ago by <a href="http://www.openstreetmap.org/user/tyr_asd">tyr_asd</a></div>

This is the raw RSS-XML:

    <div class="note-comment" style="margin-top: 5px">
      <div class="note-comment-description" style="font-size: smaller; color: #999999">Created &lt;span title=&quot; 7 May 2013 at 09:22&quot;&gt;3 minutes&lt;/span&gt; ago by &lt;a href=&quot;http://www.openstreetmap.org/user/tyr_asd&quot;&gt;tyr_asd&lt;/a&gt;</div>

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130507/afa48634/attachment.html>

More information about the rails-dev mailing list