aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index f2d565c..66eb67c 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -425,7 +425,10 @@ else:
print ' <div class="entry_date">' + date + '</div>'
print ' <div class="entry_content">'
for line in content:
- print ' ' + line.strip() + '<br />'
+ 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 ' </div>'
print ' <div class="entry_footer"></div>'
print ' <div class="entry_border_left"></div>'