summaryrefslogtreecommitdiff
path: root/util/html.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-03-14 18:18:31 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-03-17 13:49:41 -0400
commitb54a1c9686eec3c1114e9b58cb67679ba59c45bd (patch)
tree0bdb2f3ed51ff077a8c3e337e4bc556aacec108e /util/html.go
parent54feeb027d6e5a760b49769dfe695ea2591dc6fe (diff)
directories
Diffstat (limited to 'util/html.go')
-rw-r--r--util/html.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/util/html.go b/util/html.go
deleted file mode 100644
index af2ce60..0000000
--- a/util/html.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package util
-
-import (
- "html/template"
- "strings"
-)
-
-func HTMLCellEscapeString(s string) template.HTML {
- html := template.HTMLEscapeString(s)
- if strings.TrimSpace(html) == "" {
- html = "&nbsp;"
- }
- return template.HTML(html)
-}