This commit is contained in:
Cadey Ratio 2019-09-12 22:44:04 +00:00
parent 5e8bdd7020
commit 19aac8b74c
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ func (s *Site) showPost(w http.ResponseWriter, r *http.Request) {
if len(p.Tags) != 0 {
for _, t := range p.Tags {
tags = tags + " #" + strings.Replace(t, "-", "")
tags = tags + " #" + strings.ReplaceAll(t, "-", "")
}
}