Skip to content

Commit 4391905

Browse files
TG1999janniclas
authored andcommitted
Add missing quotes for href values in template
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com> Signed-off-by: Jan-Niclas Struewer <j.n.struewer@gmail.com>
1 parent d667d5b commit 4391905

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

vulnerabilities/templates/package_details.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<td>
6767
{% for alias in vulnerability.alias %}
6868
{% if alias.url %}
69-
<a href={{ alias.url }} target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
69+
<a href="{{ alias.url }}" target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
7070
<br />
7171
{% else %}
7272
{{ alias }}
@@ -113,7 +113,7 @@
113113
<td>
114114
{% for alias in vulnerability.alias %}
115115
{% if alias.url %}
116-
<a href={{ alias.url }} target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
116+
<a href="{{ alias.url }}" target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
117117
<br />
118118
{% else %}
119119
{{ alias }}

vulnerabilities/templates/vulnerabilities.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<td>
4949
{% for alias in vulnerability.alias %}
5050
{% if alias.url %}
51-
<a href={{ alias.url }} target="_blank">{{ alias }}
51+
<a href="{{ alias.url }}" target="_blank">{{ alias }}
5252
<i class="fa fa-external-link fa_link_custom"></i>
5353
</a>
5454
{% else %}

vulnerabilities/templates/vulnerability_details.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<td class="two-col-right">
6969
{% for alias in aliases %}
7070
{% if alias.url %}
71-
<a href={{ alias.url }} target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
71+
<a href="{{ alias.url }}" target="_blank">{{ alias }}<i class="fa fa-external-link fa_link_custom"></i></a>
7272
{% else %}
7373
{{ alias }}
7474
{% endif %}

0 commit comments

Comments
 (0)