From 655761d9a4da48ef4b7555cd739ecd193363e45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Br=C3=A4nnlund?= Date: Sat, 1 Apr 2023 15:56:32 +0200 Subject: [PATCH] docs: Update to current --- docs/user_guide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user_guide.rst b/docs/user_guide.rst index d07e34bb..6d14b3a0 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -106,7 +106,7 @@ You can edit the *Summary* section by using the :code:`pytest_html_results_summa def pytest_html_results_summary(prefix, summary, postfix): - prefix.extend([html.p("foo: bar")]) + prefix.extend(["

foo: bar

"]) Extra content ~~~~~~~~~~~~~ @@ -238,7 +238,7 @@ additional HTML and log output with a notice that the log is empty: def pytest_html_results_table_html(report, data): if report.passed: del data[:] - data.append(html.div("No log output captured.", class_="empty log")) + data.append("
No log output captured.
") Display options ---------------