Skip to content

Commit

Permalink
Add a space following the "Name:" label (#2155)
Browse files Browse the repository at this point in the history
Should be a space between "Name:" and "container:tag" currently that doesn't render, so adding a space here fixes that.  Tested on Firefox

Signed-off-by: deftdawg <[email protected]>
  • Loading branch information
deftdawg authored Oct 2, 2024
1 parent b0fefae commit eaa948e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
<div class="heading">
<div class="heading-left">
<h1>Container Vulnerability Report</h1>
<p><strong>Name:</strong> {{- if eq (.Source.Type) "image" -}} {{.Source.Target.UserInput}}
<p><strong>Name: </strong> {{- if eq (.Source.Type) "image" -}} {{.Source.Target.UserInput}}
{{- else if eq (.Source.Type) "directory" -}} {{.Source.Target}}
{{- else if eq (.Source.Type) "file" -}} {{.Source.Target}}
{{- else -}} unknown
Expand Down Expand Up @@ -592,4 +592,4 @@

</body>

</html>
</html>

0 comments on commit eaa948e

Please sign in to comment.