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 66eb67c..8f40193 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -392,7 +392,10 @@ else:
print ' <div class="entry_content">'
print ' <p>'
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 ' </p>'
print ' </div>'
print ' <div class="entry_footer"></div>'