Hello,
i’ve started django, vuejs and python alltogether on a work project that i’ve been assigned to.
Using Django 4.0 vue 2.6.14
i’m trying to add simple line breaks inside html img title tag
<td colspan="3">
<p style="display:inline-block;">
{{ parameter.name }}
<img src="@/assets/img/icons/tooltip.png" width="25" height="25" alt="alternative text" :title="parameter.description|autoescape"/>
</p>
</td>
parameter.description looks something like
<p>parameter one main description</p><p> <br> <br /> \n /n parameter one full description</p>
i’ve added everything that could work as a line break.
I’ve tried :title=“parameter.description|autoescape” or |safe
i cant add {% autoescape off %} before the whole tag because it generates an error.
i am very lost. Searched for every answer of the web and nothing works, what have i missed ?