misc: fix markup of some elements of the evolution display (#8137)

This commit is contained in:
Frédéric Péters 2015-08-31 09:06:30 +02:00
parent 0be6b60dbe
commit 63c4f83fd0
1 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ class FormStatusPage(Directory):
else:
parts += htmltext('<div class="comment">')
parts += htmltext('<p>')
parts += htmltext('<p>') + htmltext('\n').join(
parts += htmltext('\n').join(
[(x or htmltext('</p><p>')) for x in evo.comment.splitlines()])
parts += htmltext('</p>')
parts += htmltext('</div>')
@ -295,7 +295,7 @@ class FormStatusPage(Directory):
if parts_value:
r += htmltext('<div class="msg">')
r += htmltext(parts_value)
r += htmltext('</div')
r += htmltext('</div>')
r += htmltext('</div>')
r += htmltext('</li>')