aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user-guide/genhelp.py
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-09-20 23:48:14 -0300
committerdequis <dx@dxzone.com.ar>2016-09-20 23:48:14 -0300
commit028ca92f3a36fed8ebb0a6507e64a50938049e53 (patch)
tree6672fcb075a9bbf264c6cb1e1e78372c62bfb5c6 /doc/user-guide/genhelp.py
parent7e4f439ccaf898edee560fd7351b7dabdc14ae3a (diff)
doc: some 'chat list' related help improvements
Diffstat (limited to 'doc/user-guide/genhelp.py')
-rw-r--r--doc/user-guide/genhelp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user-guide/genhelp.py b/doc/user-guide/genhelp.py
index ec619344..e9a3b2bf 100644
--- a/doc/user-guide/genhelp.py
+++ b/doc/user-guide/genhelp.py
@@ -64,7 +64,8 @@ def fix_tree(tag, debug=False, lvl=''):
print("%s</%s>%r" % (lvl, tag.tag, [tag.tail, normalize(tag.tail)]))
# Actually normalize whitespace
- tag.text = normalize(tag.text)
+ if 'pre' not in tag.attrib:
+ tag.text = normalize(tag.text)
tag.tail = normalize(tag.tail)