1
This commit is contained in:
@@ -536,7 +536,6 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
|
||||
result = strings.ReplaceAll(result, byteSignSound, "*")
|
||||
result = strings.ReplaceAll(result, byteSignSoundE, "&")
|
||||
for i := 0; i < len(soundStr); i++ {
|
||||
fmt.Println("result=", result)
|
||||
start := strings.Index(result, "*")
|
||||
end := strings.Index(result, "&")
|
||||
result = strings.Replace(result, result[start:end+1], soundStr[i], 1)
|
||||
|
||||
Reference in New Issue
Block a user