Trim the tags

This commit is contained in:
Las Zenow 2020-04-11 16:54:03 +00:00
parent 6684e1b96a
commit 04c452853a
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ func cleanEmptyStr(s []string) []string {
var res []string var res []string
for _, v := range s { for _, v := range s {
if v != "" { if v != "" {
res = append(res, v) res = append(res, strings.TrimSpace(v))
} }
} }
return res return res

View file

@ -8,7 +8,7 @@
</div> </div>
{{if not .IsOnion}} {{if not .IsOnion}}
<div class="span6"> <div class="span6">
<p class="pull-right"><small>This is a mirror of the tor onion service:<br /> <p class="pull-right"><small>This is a mirror of the <a href="https://www.torproject.org/">Tor</a> onion service:<br />
<a href="http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion/">http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion</a></small></p> <a href="http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion/">http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion</a></small></p>
</div> </div>
{{end}} {{end}}