diff --git a/pyproject.toml b/pyproject.toml index d2968422..518de100 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,4 +115,6 @@ warn_unused_configs = true [tool.djlint] profile = "jinja" -ignore = "H005,H016,H030,H031,H006,H013" +# H056/H057: the media / src is intentionally empty (populated at +# runtime by report.js), and the has no caption source to track. +ignore = "H005,H016,H030,H031,H006,H013,H056,H057" diff --git a/src/pytest_html/resources/index.jinja2 b/src/pytest_html/resources/index.jinja2 index d899375e..50849184 100644 --- a/src/pytest_html/resources/index.jinja2 +++ b/src/pytest_html/resources/index.jinja2 @@ -4,11 +4,11 @@ {{ title }} {%- if self_contained %} - {% else %} - + {%- endif %} @@ -87,7 +87,7 @@ {%- endfor %} - Show all details / Hide all details + Show all details / Hide all details