diff options
| author | fja-odoo <fja@odoo.com> | 2019-08-09 09:50:13 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-08-09 14:17:31 +0000 |
| commit | 79d7904b4f650b38c80239fca38bcec39a373580 (patch) | |
| tree | 33d214a0dd702e2b586e12a240d528c2c657969d | |
| parent | 83310f44049e500306c3c27a5d9b7e874e79b934 (diff) | |
[FIX] web: fix the display of one line warning
Warning message without breakline were not displayed correctly using pre
tag.
Related to https://github.com/odoo/odoo/pull/32132 and
https://github.com/odoo/odoo/pull/35209
Part of https://github.com/odoo/odoo/pull/35342
task-2047628
| -rw-r--r-- | addons/web/static/src/xml/crash_manager.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/crash_manager.xml b/addons/web/static/src/xml/crash_manager.xml index a6b506c0190..80f67faaf83 100644 --- a/addons/web/static/src/xml/crash_manager.xml +++ b/addons/web/static/src/xml/crash_manager.xml @@ -2,7 +2,7 @@ <templates id="template" xml:space="preserve"> <div t-name="CrashManager.warning" class="o_dialog_warning" role="alert"> - <pre t-esc="widget.message"/> + <p t-esc="widget.message" style="white-space: pre-wrap;"/> </div> <div t-name="CrashManager.error" class="o_dialog_error"> |
