When I run Generate missing terms, Odoo generates text strings with HTML tags around them.
For example, I have a template
<div>
<span>Invoice</span>
</div>
I would expect Odoo to generate Invoice
as translation source, but it generates entire <span>Invoice</span>
. It confuses our translator and makes it more difficult to translate.
If I attempt to correct the translation source value to clean text without tags, the translation does not work any more - Odoo does not recognize it.
How to prevent this from happening? How to get clean text strings as translation sources for view templates?
Odoo is v13, by the way.