diff --git a/ietf/utils/soup2text.py b/ietf/utils/soup2text.py index 614694a2c..9c6f9f33b 100755 --- a/ietf/utils/soup2text.py +++ b/ietf/utils/soup2text.py @@ -44,11 +44,9 @@ def para(words, pre): text = "".join(words) text = unescape(text) if not pre: - #print "*** Text to be wrapped:" - #print "["+text+"]" - text = re.sub("[\t ]+", " ", text) text = text.strip("\n") text = text.lstrip() + text = re.sub("[\t\n ]+", " ", text) text = textwrap.fill(text) return text