diff --git a/src/pytest_html/basereport.py b/src/pytest_html/basereport.py index cfcc74b2..e11f3e29 100644 --- a/src/pytest_html/basereport.py +++ b/src/pytest_html/basereport.py @@ -356,7 +356,10 @@ def _process_outcome(report): def _process_links(links): - a_tag = '{name}' + a_tag = ( + '' + "{name}" + ) return "".join([a_tag.format_map(link) for link in links])