'
print ''
+
# Staticpage
if static_display != "":
content = open(staticpages_dir + static_display, "r")
@@ -417,7 +420,7 @@ else:
print '
'
print '
'
for line in content:
- if re.match(no_break, line):
+ if no_break.match(line):
print ' ' + line.strip()
else:
print ' ' + line.strip() + '
'
@@ -431,6 +434,7 @@ else:
print '
'
print ''
content.close()
+
# Entry
else:
entry_counter = 0
@@ -453,7 +457,7 @@ else:
print '
'
for line in content:
- if re.match(no_break, line):
+ if no_break.match(line):
print ' ' + line.strip()
else:
print ' ' + line.strip() + '
'
@@ -480,7 +484,7 @@ else:
label_count = 0
for line in comments_content:
- if re.search("^-", line):
+ if line_start_hyphen.match(line):
if notfirstline == 1:
print '