diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-03-03 15:38:49 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-03-03 15:41:02 +0100 |
| commit | bc4561b26b2101a997fbf4a03aae3662226cf04a (patch) | |
| tree | c8707ad2bfabc292589218e017d30de3a99ec280 /addons/web_editor | |
| parent | 1320ad8cfebf39ce15eef43d597d9bc2ff3008a5 (diff) | |
[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
Diffstat (limited to 'addons/web_editor')
| -rw-r--r-- | addons/web_editor/static/src/js/backend.js | 1 |
1 files changed, 1 insertions, 0 deletions
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", |
