summaryrefslogtreecommitdiff
path: root/doc/reference/workflow/join.dot
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-03-10 13:31:56 +0100
committerMartin Trigaux <mat@odoo.com>2016-03-10 13:33:18 +0100
commit840da58c87ab19b6a91873efe3ef03c138a223c0 (patch)
treeee26544b945e394e9cd05cda1bcba1ed7bf0bec2 /doc/reference/workflow/join.dot
parente4232bfb207f06522e44f32ad3ac2bf58f62aaea (diff)
[FIX] i18n: escaping of incorrect html in help messages
The field help on an ir.actions.act_window is a translatable html field. When a value is set, it is processed by the `html_sanitize` method to make sure only valid HTML content is present in the database. In sanitization, xml line break tag `<br/>` is converted into html tag `<br>`. Before revision 6c8e53a0, `xml_translate` method was using XML parser for html fields. Line break was then exported as `<br/>`. Since this revision, it is using a proper html parser and line break is exported the same way as it is stored in the database, with a `<br>`. When translating html value, the content is split per meaningful block and recomposed based on the msgsrc value. Due to the change of parser, translations exported before 6c8e53a0 contains `<br/>` tag inside the msgstr and could not match any block in splitted content (which contains `<br>`). Correct the .pot with valid tag. Do not change the xml content of help message as it should still be XML inside the data files. opw 671477
Diffstat (limited to 'doc/reference/workflow/join.dot')
0 files changed, 0 insertions, 0 deletions