odoo/odoo#70004

Created by Framework (ORM), Xavier Morel (xmo)
Merged at 80b27a672f49bee9db4d3ce05036579cde6ef9ed

Statuses:

Linked pull requests
label
odoo-dev:master-markupsafe-js-xmo
head
11da0fd967676141adaf653d2c64783316f69b1c
merged
5 years ago by Framework (ORM), Xavier Morel (xmo)
odoo/odoo odoo/enterprise
master #70004 #18005

[MERGE] *: deprecate and replace non-owl t-raw

non-owl JS-side of #68072:

Also moved some formatting from the server to the client, either removing the need to inject markup entirely or making the use of Markup much cleaner than just "mark whatever the server returned as safe".

There are a few things I'm not entirely sure about e.g. whether even using markup is necessary for formatMonetary, doesn't the "unicode" NBSP work fine in HTML? Though we may need to keep forceString to ensure something like ascii-compatibility.