summaryrefslogtreecommitdiff
path: root/bin-src/util/html.go
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-09-01 00:33:47 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-09-01 01:45:17 -0600
commitd26030ecbc2d0baa614ff31e8c0c28e98e1d70ab (patch)
tree295604dd1baf4cb3231628b392b530aad16d58cc /bin-src/util/html.go
parentf27db0f7772b3d160e0afececc5b30425ebb2d9b (diff)
Use golangci-lint to modernize my Go
Diffstat (limited to 'bin-src/util/html.go')
-rw-r--r--bin-src/util/html.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin-src/util/html.go b/bin-src/util/html.go
index af2ce60..6cc6072 100644
--- a/bin-src/util/html.go
+++ b/bin-src/util/html.go
@@ -10,5 +10,6 @@ func HTMLCellEscapeString(s string) template.HTML {
if strings.TrimSpace(html) == "" {
html = "&nbsp;"
}
+ //nolint:gosec // false positive, we did escape it
return template.HTML(html)
}