Skip to content

Commit

Permalink
bug: the links don't work (#13)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Pivkin <[email protected]>
  • Loading branch information
nikpivkin and tososomaru authored Mar 6, 2023
1 parent c93ae0b commit 415ad9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
.idea/
.vscode/
dist/
dist/
**/.DS_Store
4 changes: 2 additions & 2 deletions src/html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<td>{{ escapeXML .FixedVersion }}</td>
<td class="links" data-more-links="off">
{{- range .Vulnerability.References }}
<a class="link" href='{{ escapeXML . | printf "%q" }}'>{{ escapeXML . }}</a>
<a class="link" href='{{ escapeXML . | printf "%s" }}'>{{ escapeXML . }}</a>
{{- end }}
</td>
</tr>
Expand Down Expand Up @@ -92,7 +92,7 @@
<td class="link" data-more-links="off" style="white-space:normal;">
{{ escapeXML .Message }}
<br>
<a href='{{ escapeXML .PrimaryURL | printf "%q" }}'>{{ escapeXML .PrimaryURL }}</a>
<a href='{{ escapeXML .PrimaryURL | printf "%s" }}'>{{ escapeXML .PrimaryURL }}</a>
</br>
</td>
</tr>
Expand Down

0 comments on commit 415ad9b

Please sign in to comment.