[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
This commit is contained in:
fja-odoo
2019-08-09 14:17:31 +00:00
parent 83310f4404
commit 79d7904b4f
+1 -1
View File
@@ -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">