diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-09-01 00:33:47 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-09-01 01:45:17 -0600 |
commit | d26030ecbc2d0baa614ff31e8c0c28e98e1d70ab (patch) | |
tree | 295604dd1baf4cb3231628b392b530aad16d58cc /bin-src/util/html.go | |
parent | f27db0f7772b3d160e0afececc5b30425ebb2d9b (diff) |
Use golangci-lint to modernize my Go
Diffstat (limited to 'bin-src/util/html.go')
-rw-r--r-- | bin-src/util/html.go | 1 |
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 = " " } + //nolint:gosec // false positive, we did escape it return template.HTML(html) } |