merge-requests/8/head
Bob Mottram 2020-10-01 23:58:11 +01:00
parent 11f9fe96e2
commit 3746d145ff
1 changed files with 7 additions and 8 deletions

View File

@ -5198,14 +5198,13 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
' <p><a href="' + linkStr + '">' + \ ' <p><a href="' + linkStr + '">' + \
lineStr + '</a></p>\n' lineStr + '</a></p>\n'
else: else:
if lineStr: if lineStr.startswith('#') or lineStr.startswith('*'):
if lineStr.startswith('#') or lineStr.startswith('*'): lineStr = lineStr[1:].strip()
linestr = lineStr[1:].strip() htmlStr += \
htmlStr += \ ' <h5>' + lineStr + '</h5>\n'
' <h5>' + lineStr + '</h5>\n' else:
else: htmlStr += \
htmlStr += \ ' <p>' + lineStr + '</p>\n'
' <p>' + lineStr + '</p>\n'
return htmlStr return htmlStr