From 3de85c3be730a0587fb1515a3b4bb4b40e95208f Mon Sep 17 00:00:00 2001 From: Ovyerus Date: Sun, 4 Aug 2024 13:41:51 +1000 Subject: [PATCH] fix: set default language for Prism to `text` (#62) --- cmd/tclipd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tclipd/main.go b/cmd/tclipd/main.go index 73d55cf..e2912df 100644 --- a/cmd/tclipd/main.go +++ b/cmd/tclipd/main.go @@ -532,7 +532,7 @@ WHERE p.id = ?1` var rawHTML *template.HTML - var cssClass string + cssClass := "language-text" if lang != "" { cssClass = fmt.Sprintf("lang-%s", strings.ToLower(lang)) }