fix bug
This commit is contained in:
parent
63591899bb
commit
9af2257650
|
@ -79,6 +79,7 @@ func ParseDigestConf(c DigestConfig) map[string]digest.SpecialSolveConf {
|
||||||
var specialTags map[string]digest.SpecialSolve
|
var specialTags map[string]digest.SpecialSolve
|
||||||
if len(item.EscapeCharacter) > 0 {
|
if len(item.EscapeCharacter) > 0 {
|
||||||
ec = make(map[rune]digest.SpecialSolve)
|
ec = make(map[rune]digest.SpecialSolve)
|
||||||
|
specialTags = make(map[string]digest.SpecialSolve)
|
||||||
for _, esc := range item.EscapeCharacter {
|
for _, esc := range item.EscapeCharacter {
|
||||||
for _, i := range esc.Character {
|
for _, i := range esc.Character {
|
||||||
s := []rune(i)
|
s := []rune(i)
|
||||||
|
@ -93,7 +94,6 @@ func ParseDigestConf(c DigestConfig) map[string]digest.SpecialSolveConf {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
tagss := strings.Split(strings.ReplaceAll(esc.Tags, " ", ""), "<")
|
tagss := strings.Split(strings.ReplaceAll(esc.Tags, " ", ""), "<")
|
||||||
specialTags = make(map[string]digest.SpecialSolve)
|
|
||||||
for _, t := range tagss {
|
for _, t := range tagss {
|
||||||
if t == "" {
|
if t == "" {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user