How can i securely render HTML formated text with some allowed tags like <b> <i> on a odoo qweb report.
I don't trust t-raw.
There are any odoo module or example code for this?
This question has been flagged
1
Reply
5528
Views
Hi,
use following approaches;
<t t-if="your_conditions">
<b></b>
</t>
or
<b t-if="condition">Sample Text</b>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Sep 23
|
30405 | ||
|
|
2
Jul 23
|
10463 | ||
|
|
1
Jun 23
|
6822 | ||
|
|
1
Apr 23
|
7708 | ||
|
|
1
Nov 22
|
5680 |