diff options
author | Martin Fischer <martin@push-f.com> | 2025-04-07 06:44:43 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-13 23:18:01 +0200 |
commit | 8d834d04be72597fa8a9627af3b471ab65baaa0d (patch) | |
tree | 86388d3802639f461e22b8d8a1112488e7c13a91 | |
parent | 193385bd5deb7ecb021ee3273f89cceadbbd10ab (diff) |
fix: HTML escape in templates
-rw-r--r-- | lex-serve/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lex-serve/main.go b/lex-serve/main.go index f06d1a1..0a1403b 100644 --- a/lex-serve/main.go +++ b/lex-serve/main.go @@ -4,6 +4,7 @@ import ( "bytes" "embed" "encoding/json" + "html/template" "io/ioutil" "log" "net" @@ -11,7 +12,6 @@ import ( "net/url" "os" "strings" - "text/template" ) //go:embed countries.json |