I have a property that contains an HTML string as one of its attributes.
When I try to print this on a page in my template, it actually prints HTML. Thus, the text contains HTML tags, and it is not interpreted by the browser as HTML.
How can i fix this?
Template:
<div class="description">
{{ property.description }}
</div>
Conclusion:
<p>Suscipit est aut molestiae provident quis magnam.</p> <p>Nesciunt iure impedit sint iste.</p> <p>Aspernatur repudiandae laborum dolor harum magnam officiis ad nihil.</p> <p>Non deserunt rerum adipisci voluptates est eos et.</p>
source
share