summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-02-27 13:59:34 +0100
committerXavier Morel <xmo@openerp.com>2014-02-27 13:59:34 +0100
commit6b857b6eeb59137a71385f98c82c440ac82cd45d (patch)
tree1c075286a695a481f96e96b7e9f08e9dc38a5a60 /addons/analytic_user_function/analytic_user_function_view.xml
parente28677f727b0218f037417d912f42a143c5bc52c (diff)
[FIX] whitespace/indent lost by RTE
Didn't manage to find RTE settings to avoid losing leading whitespace of lines, so reindeint arch after doing all integration, right before saving back to view's field. * html.fromstring(parser=HTMLParser(remove_blank_text=True) does not seem to work, so serialize to XML, and parse back with remove_blank_text. remove_blank_text necessary for lxml's pretty_print to work correctly. * pretty_print only & always uses 2 spaces/indent level. Our files (and the HTML editor's Format button) uses 4 spaces -> need a second pass to double indents. bzr revid: xmo@openerp.com-20140227125934-q8j3z440px2ic6kx
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions