Skip to content

Commit

Permalink
Fix bug in advisories.rss.xml where there is no closing li tag (jenki…
Browse files Browse the repository at this point in the history
…ns-infra#6944)

Add li tag
  • Loading branch information
katie291100 authored Dec 13, 2023
1 parent c37dc3e commit 65ed8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/security/advisories/rss.xml.haml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
- if site._generated[:update_center].plugins[plugin.name]
= "<li>Affects plugin: <a href='https://plugins.jenkins.io/#{plugin.name}'>#{site._generated[:update_center].plugins[plugin.name].title}</a></li>".encode(xml: :text)
- else
= "<li>Affects plugin: #{plugin.title || plugin.name}".encode(xml: :text)
= "<li>Affects plugin: #{plugin.title || plugin.name}</li>".encode(xml: :text)
- components = page.issues.collect { |issue| issue.components }.flatten.keep_if { |c| c }
- components.each do | component |
= "<li>Affects #{component.title || component.name}</li>"
Expand Down

0 comments on commit 65ed8e0

Please sign in to comment.