From 4e7b90d6777f948000a031833c7c3024a5319a59 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Wed, 30 Sep 2009 10:18:07 +0200 Subject: Fixed listitems in staticpages too --- blogthon.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'blogthon.cgi') diff --git a/blogthon.cgi b/blogthon.cgi index 66eb67c..8f40193 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -392,7 +392,10 @@ else: print '
' print '

' for line in content: - print ' ' + line.strip() + '
' + if re.search('

  • ', line) or re.search('
      ', line) or re.search('
    ', line) or re.search('
      ', line) or re.search('
    ', line): + print ' ' + line.strip() + else: + print ' ' + line.strip() + '
    ' print '

    ' print '
  • ' print '
    ' -- cgit v1.2.3