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