summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-03-21 08:54:19 +0100
committerXavier Morel <xmo@openerp.com>2014-03-21 08:54:19 +0100
commita56dc53beaabf7ba97908f5d335f72fda9b2aa0b (patch)
treee5fe34fe75aa03e315faad283f586dbef6b1046c /addons/website/static/src/js
parent30853afd185ba305be87940351bd69198a036a12 (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