[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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user