I have a problem with breaking words in the right place at the Django template. Appears ­
I'm trying to filter safe, but it does not work.
Here is my code:
<div class="my_class">
<h3>{{ object.title|safe }}</h3>
</div>
I have a problem with breaking words in the right place at the Django template. Appears ­
I'm trying to filter safe, but it does not work.
Here is my code:
<div class="my_class">
<h3>{{ object.title|safe }}</h3>
</div>
Copyright © 2021 Jogjafile Inc.
From the doc here:safe
And Django's templating engine does escaping automatically, look When should I use escape and safe in Django's template system?