Skip to content

Commit 49e4b39

Browse files
kevinburkegopherbot
authored andcommitted
_content/doc/devel: fix article formatting
Previously, the release notes for Go 1.20.9 and 1.21.1 note "one security fixes" instead of "a security fix." We could change the content of internal/history/release.go but feels better to do the right thing even if people do this same thing again. Change-Id: I6817e0023f45b09f7a26dc58753001484218cf99 Reviewed-on: https://go-review.googlesource.com/c/website/+/569375 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Kevin Burke <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
1 parent ea18705 commit 49e4b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_content/doc/devel/release.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h2 id="go{{.Version}}">go{{.Version}} (released {{.Date}})</h2>
4646
{{with .Security}}
4747
{{.Quantifier}}
4848
security
49-
{{if eq .Quantifier "a"}}fix{{else}}fixes{{end -}}
49+
{{if (or (eq .Quantifier "a") (eq .Quantifier "one"))}}fix{{else}}fixes{{end -}}
5050
{{with .ComponentsAndPackages}} to {{.}}{{end -}}
5151
{{end}}
5252
{{- if and .Security .Bug}}, as well as{{end -}}

0 commit comments

Comments
 (0)