Files
odoo_source/odoo/tests
flvr-odooandAlex Roscav 54b8a41bb6 [FIX] adding a standalone test for markup
This commits make a new standalone test for Markup()

The idea is to only flag the usage of Markup inside of runbot if
it is called on the non-constant string.

Markup('<span> %s </span>') % text #should not raise a flag,

Markup('<span> %s </span>' % 'text') #should raise a flag

closes odoo/odoo#131206

Signed-off-by: Vranckx Florian (flvr) <flvr@odoo.com>
Co-authored-by: Alex Roscav  <roal@odoo.com>
2023-08-30 11:49:00 +00:00
..
2023-03-31 17:02:43 +02:00
…
…