diff --git a/src/lib/writer-html.cc b/src/lib/writer-html.cc index f13f5ae6..291ff46a 100644 --- a/src/lib/writer-html.cc +++ b/src/lib/writer-html.cc @@ -50,10 +50,8 @@ namespace HtmlLib { void initHtml(std::ostream &str, std::string title) { escapeText(title); - str << "\n\ -\n\ -\n\ + str << "\n\ +\n\ " << title << "\n\ \n

" << title << "

\n"; } diff --git a/tests/cshtml/0001-smoke/scan-results.html b/tests/cshtml/0001-smoke/scan-results.html index b849915c..472424e6 100644 --- a/tests/cshtml/0001-smoke/scan-results.html +++ b/tests/cshtml/0001-smoke/scan-results.html @@ -1,6 +1,5 @@ - - - + + curl-7.60.0-1.el8+7

curl-7.60.0-1.el8+7

diff --git a/tests/cshtml/0002-cwe-names/scan-results.html b/tests/cshtml/0002-cwe-names/scan-results.html index af3392fd..75dce62b 100644 --- a/tests/cshtml/0002-cwe-names/scan-results.html +++ b/tests/cshtml/0002-cwe-names/scan-results.html @@ -1,6 +1,5 @@ - - - + + curl-7.60.0-1.el8+7

curl-7.60.0-1.el8+7