<p>Ehm, i don't think this is the best approach, although i see it used often in this project.<br>
Beter would be to eliminate the first (not needed) html encoding phase when handling strings.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/commit/aa00e6b81e007a44eceb8d1a1d70b9b99ec4bc3a#commitcomment-6708442">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODY5OTg3OSwiZGF0YSI6eyJpZCI6MzQ5MzA4MDR9fQ==--52fefaa71ec02bc51a966a7b30a458829a5cc72b.gif" width="1" /></p>