6b857b6eeb
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 |
||
---|---|---|
.. | ||
ui_suite | ||
__init__.py | ||
cases.py | ||
test_converter.py | ||
test_requests.py | ||
test_ui.py | ||
test_views.py |