mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 13:27:42 +03:00
Just use html.UnescapeString....
This commit is contained in:
parent
60d4cb5d9f
commit
867ca0580c
@ -10,6 +10,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"html"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/deluan/gosonic/domain"
|
||||
"github.com/deluan/itl"
|
||||
@ -191,8 +193,7 @@ func hasCoverArt(path string) bool {
|
||||
}
|
||||
|
||||
func unescape(str string) string {
|
||||
s := strings.Replace(str, "&", "&", -1)
|
||||
return s
|
||||
return html.UnescapeString(str)
|
||||
}
|
||||
|
||||
func realArtistName(t *itl.Track) string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user