fix(scanner): gracefully handle multi value tag delim splits with adjacent delimiters
closes #448 Co-authored-by: Chris Hayes <chayes@interrobang.sh>
This commit is contained in:
@@ -518,7 +518,11 @@ func getMusicFolder(musicPaths []MusicPath, p params.Params) string {
|
||||
}
|
||||
|
||||
func lowerUDecOrHash(in string) string {
|
||||
lower := unicode.ToLower(rune(in[0]))
|
||||
inRunes := []rune(in)
|
||||
if len(inRunes) == 0 {
|
||||
return ""
|
||||
}
|
||||
lower := unicode.ToLower(inRunes[0])
|
||||
if !unicode.IsLetter(lower) {
|
||||
return "#"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user