Fixed listitems in staticpages too
This commit is contained in:
parent
0df5bfac09
commit
4e7b90d677
@ -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>'
|
||||
|
Loading…
Reference in New Issue
Block a user