From 154259532783c92a5193f8de908df6cac378baf2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 13 Mar 2024 18:39:14 +0100 Subject: [PATCH] show: make highlight legible fixes https://github.com/Debian/dcs/issues/125 --- cmd/dcs-web/templates/show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dcs-web/templates/show.html b/cmd/dcs-web/templates/show.html index 85a9ae8..a905939 100644 --- a/cmd/dcs-web/templates/show.html +++ b/cmd/dcs-web/templates/show.html @@ -52,7 +52,7 @@ pre, code {

Source of {{.filename}}

-
{{range $idx, $line := .numbers}}{{ if eq $line $.line }}{{ end }}{{$line}}{{ if eq $line $.line }}{{ end }}
+
{{range $idx, $line := .numbers}}{{ if eq $line $.line }}{{ end }}{{$line}}{{ if eq $line $.line }}{{ end }}
 {{end}}
 
-- 2.11.4.GIT