Fixed listitems in staticpages too

This commit is contained in:
Stefan Ritter 2009-09-30 10:18:07 +02:00
parent 0df5bfac09
commit 4e7b90d677

View File

@ -392,6 +392,9 @@ else:
print ' <div class="entry_content">'
print ' <p>'
for line in content:
if re.search('<li>', line) or re.search('<ul>', line) or re.search('</ul>', line) or re.search('<ol>', line) or re.search('</ol>', line):
print ' ' + line.strip()
else:
print ' ' + line.strip() + '<br />'
print ' </p>'
print ' </div>'