Hi, Quick question, it is maybe answered before but I can’t find it.
In the template for a gallery I need to put some HTML in a data tag like so
<div data-src="/assets/photo/myphoto.jpg" data-sub-html="<h3>My caption</h3><p>My description.</p>">photo</div>
But it renders it like this
<div data-src="/assets/photo/myphoto.jpg" data-sub-html="<h3>My caption</h3><p>My description..</p>">photo</div>
Is there a way to stop Silverstripe to encode my HTML?