summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/crash_manager.xml
diff options
context:
space:
mode:
authorfja-odoo <fja@odoo.com>2019-08-09 09:50:13 +0000
committerfja-odoo <fja@odoo.com>2019-08-09 14:17:31 +0000
commit79d7904b4f650b38c80239fca38bcec39a373580 (patch)
tree33d214a0dd702e2b586e12a240d528c2c657969d /addons/web/static/src/xml/crash_manager.xml
parent83310f44049e500306c3c27a5d9b7e874e79b934 (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
Diffstat (limited to 'addons/web/static/src/xml/crash_manager.xml')
-rw-r--r--addons/web/static/src/xml/crash_manager.xml2
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">