diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-03-21 08:54:19 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-03-21 08:54:19 +0100 |
| commit | a56dc53beaabf7ba97908f5d335f72fda9b2aa0b (patch) | |
| tree | e5fe34fe75aa03e315faad283f586dbef6b1046c /addons/website/static/src/js | |
| parent | 30853afd185ba305be87940351bd69198a036a12 (diff) | |
[REM] 4-spaces indent for web view pretty-print-before-save routine
Didn't quite work right: on the layout, it would exponentially increase
leading spaces in text nodes. Combined with a bug injecting snippets marks in
the footer (and thus invalidating and re-saving the layout at each snippet
addition) this could blow up the layout template and rendered page to >20MB.
Just keep lxml's standard 2-spaces indent.
LXML is unable to pretty print the layout anyway.
bzr revid: xmo@openerp.com-20140321075419-9w88h232r928xv5f
Diffstat (limited to 'addons/website/static/src/js')
0 files changed, 0 insertions, 0 deletions
