From 04c452853a355a877821f9185393cb62200f92b7 Mon Sep 17 00:00:00 2001 From: Las Zenow Date: Sat, 11 Apr 2020 16:54:03 +0000 Subject: [PATCH] Trim the tags --- lib/admin.go | 2 +- templates/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/admin.go b/lib/admin.go index e8bb043..76e8b7a 100644 --- a/lib/admin.go +++ b/lib/admin.go @@ -94,7 +94,7 @@ func cleanEmptyStr(s []string) []string { var res []string for _, v := range s { if v != "" { - res = append(res, v) + res = append(res, strings.TrimSpace(v)) } } return res diff --git a/templates/footer.html b/templates/footer.html index c2c8fd6..b68d394 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -8,7 +8,7 @@ {{if not .IsOnion}}
-

This is a mirror of the tor onion service:
+

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion

{{end}}