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
for _, v := range s {
if v != "" {
res = append(res, v)
res = append(res, strings.TrimSpace(v))
}
}
return res

View file

@ -8,7 +8,7 @@
</div>
{{if not .IsOnion}}
<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>
</div>
{{end}}