diff --git a/docs/_singlevuln.templ b/docs/_singlevuln.templ index 357915ecb5..bb6651fc9c 100644 --- a/docs/_singlevuln.templ +++ b/docs/_singlevuln.templ @@ -15,11 +15,14 @@ WHERE3(Docs, "/docs/", Vulnerability table, "/docs/vulnerabilities.html", %versi TITLE(Vulnerabilities in curl %version) #include "adv-related-box.inc" -
curl version %version was released on %date. The following -%vulnnum security problem%vulnplural known to exist in this version. +
curl version %version was released on %date + +
It has the following %vulnnum published security problem%vulnplural. %vulnerabilities +SUBTITLE(Futher details) +
CVE data for %version provided as JSON. diff --git a/docs/vulntable.pl b/docs/vulntable.pl index 9929a893f6..3d76fa4247 100755 --- a/docs/vulntable.pl +++ b/docs/vulntable.pl @@ -83,7 +83,7 @@ sub single { } else { # nothing known - yet - $vulnhtml = "
Yay - there are no published security vulnerabilities for this version!"; + $vulnhtml = "
There are no published security vulnerabilities for this version."; } my $n = "
See vulnerability summary for "; @@ -103,10 +103,10 @@ sub single { $anchor =~ s/\./_/g; if($vulnnum == 1) { - $vulnplural = ' is'; + $vulnplural = ""; } else { - $vulnplural = 's are'; + $vulnplural = "s"; } open(T, "<_singlevuln.templ");