Skip to content

Commit c9eadb0

Browse files
authored
Merge pull request #217 from borntyping/patch-1
Append a line break after captured log sections
2 parents 83d6e1b + b3cf28a commit c9eadb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_html/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ def append_log_html(self, report, additional_html):
263263
converter = Ansi2HTMLConverter(inline=False, escaped=False)
264264
content = converter.convert(content, full=False)
265265
log.append(raw(content))
266+
log.append(html.br())
266267

267268
if len(log) == 0:
268269
log = html.div(class_='empty log')

0 commit comments

Comments
 (0)