-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I can see from querying the Collections Solr that some collections have HTML in them, e.g.
<doc>
<str name="id">31</str>
<str name="type">collection</str>
<str name="name">Athletics</str>
<str name="description">
Sites and social media of UK competitors in athletics events at the Games.<ul><li><a href="https://webarchive.org.uk/wayback/archive/20140803052825/http://chrissyo.com/">[ARCHIVED] Christine Ohuruogu</a></li> <li><a href="https://webarchive.org.uk/wayback/archive/20140803052824/http://www.martynrooney.com/">[ARCHIVED] Martyn Rooney</a></li> <li><a href="https://webarchive.org.uk/wayback/archive/20140801052323/http://www.aleddavies-f42.co.uk/">[ARCHIVED] Aled Davies MBE</a></li> </ul>
</str>
<long name="parentId">21</long>
</doc>
But it looks like the HTML is getting stripped out when rendering it: https://www.webarchive.org.uk/en/ukwa/collection/31
I expect Play is automatically doing this, as that is considered best practice. Usually in this situation, you have to tell the templating system that this content is trusted and therefore that it's safe to include it as-is.