Skip to content

Commit

Permalink
Close the <b> tag in HTML formatter (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
mportesdev committed May 9, 2022
1 parent c6b3db7 commit cc82cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bandit/formatters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def report(manager, fileobj, sev_level, conf_level, lines=-1):
<b>Test ID:</b> {test_id}<br>
<b>Severity: </b>{severity}<br>
<b>Confidence: </b>{confidence}<br>
<b>CWE: <a href="{cwe_link}" target="_blank">CWE-{cwe.id}</a><br>
<b>CWE: </b><a href="{cwe_link}" target="_blank">CWE-{cwe.id}</a><br>
<b>File: </b><a href="{path}" target="_blank">{path}</a><br>
<b>Line number: </b>{line_number}<br>
<b>More info: </b><a href="{url}" target="_blank">{url}</a><br>
Expand Down

0 comments on commit cc82cec

Please sign in to comment.