From aa68d30e8587eba4e1e3d2cb51a8859a42c885f7 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Tue, 12 Jun 2007 20:31:28 +0000 Subject: [PATCH] Tweaking the paragraph filling code some more - Legacy-Id: 346 --- ietf/utils/soup2text.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ietf/utils/soup2text.py b/ietf/utils/soup2text.py index ad86a31c0..614694a2c 100755 --- a/ietf/utils/soup2text.py +++ b/ietf/utils/soup2text.py @@ -48,6 +48,7 @@ def para(words, pre): #print "["+text+"]" text = re.sub("[\t ]+", " ", text) text = text.strip("\n") + text = text.lstrip() text = textwrap.fill(text) return text