Mercurial > codedump
changeset 85:c24d5b83a726
Update generatehtml.py
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Thu, 28 Jul 2022 16:57:53 -0400 |
parents | 1eb7d6d7be1d |
children | fe7933e0bf13 |
files | generatehtml.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/generatehtml.py Thu Jul 28 16:50:25 2022 -0400 +++ b/generatehtml.py Thu Jul 28 16:57:53 2022 -0400 @@ -31,7 +31,7 @@ continue # this sucks. if lines[line][0:3] == "---" or len(lines)-line == 1: - if len(lines)-line == 1: + if len(lines)-line == 1 and not lines[line][0:3] == "---": out_str += """%s\n""" % html.escape(lines[line].strip()) out_str += " </pre>\n </div>\n" continue