No <br /> at the end of list items
This commit is contained in:
parent
ac19e12ada
commit
0df5bfac09
@ -425,7 +425,10 @@ else:
|
|||||||
print ' <div class="entry_date">' + date + '</div>'
|
print ' <div class="entry_date">' + date + '</div>'
|
||||||
print ' <div class="entry_content">'
|
print ' <div class="entry_content">'
|
||||||
for line in 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>'
|
||||||
print ' <div class="entry_footer"></div>'
|
print ' <div class="entry_footer"></div>'
|
||||||
print ' <div class="entry_border_left"></div>'
|
print ' <div class="entry_border_left"></div>'
|
||||||
|
Loading…
Reference in New Issue
Block a user