From bc4561b26b2101a997fbf4a03aae3662226cf04a Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 3 Mar 2016 15:38:49 +0100 Subject: [PATCH] [FIX] web_editor: can't use mako/jija if remove space to prettify html Addapt html method to prettify the html code and keep mako structures. opw-668409 --- addons/web_editor/static/src/js/backend.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web_editor/static/src/js/backend.js b/addons/web_editor/static/src/js/backend.js index 72bf61cbb7f..09ce4dda344 100644 --- a/addons/web_editor/static/src/js/backend.js +++ b/addons/web_editor/static/src/js/backend.js @@ -38,6 +38,7 @@ var FieldTextHtmlSimple = widget.extend({ ['insert', ['link', 'picture']], ['history', ['undo', 'redo']] ], + 'prettifyHtml': false, 'styleWithSpan': false, 'inlinemedia': ['p'], 'lang': "odoo",