How can I prevent t-out
from escaping my Html code?
I am trying to display an Html code on my Website. In older Odoo versions I used t-raw
and it worked fine. Now in Odoo 16 t-raw
is deprecated and t-out
is the way to go. But t-out
always escapes my code and displays it as text on my website.
This is my old code with t-raw
:
<div class="row">
<t t-raw="html_output"/>
</div>
Here is my new code with t-out
:
<div class="row">
<t t-out="html_output"/>
</div>
How can I stop t-out
from escaping my Html code?