From 028ca92f3a36fed8ebb0a6507e64a50938049e53 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 20 Sep 2016 23:48:14 -0300 Subject: doc: some 'chat list' related help improvements --- doc/user-guide/genhelp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/user-guide/genhelp.py') 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%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) -- cgit v1.2.3