From 27bd2bf98600a03270b379cfdd9cc3519b990c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Porte=C5=A1?= Date: Sun, 8 May 2022 01:00:08 +0200 Subject: [PATCH] Close the tag in HTML formatter --- bandit/formatters/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bandit/formatters/html.py b/bandit/formatters/html.py index ff86d8fa4..f2ee3f234 100644 --- a/bandit/formatters/html.py +++ b/bandit/formatters/html.py @@ -266,7 +266,7 @@ def report(manager, fileobj, sev_level, conf_level, lines=-1): Test ID: {test_id}
Severity: {severity}
Confidence: {confidence}
- CWE: CWE-{cwe.id}
+ CWE: CWE-{cwe.id}
File: {path}
Line number: {line_number}
More info: {url}