1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-07-01 12:03:25 +00:00

Merge pull request #84 from Shigma/master

adjust unescape order
This commit is contained in:
Mrs4s
2020-08-12 12:32:06 +08:00
committed by GitHub

View File

@ -414,7 +414,7 @@ func CQCodeUnescapeText(content string) string {
} }
func CQCodeUnescapeValue(content string) string { func CQCodeUnescapeValue(content string) string {
ret := CQCodeUnescapeText(content) ret := strings.ReplaceAll(content, ",", ",")
ret = strings.ReplaceAll(ret, ",", ",") ret = CQCodeUnescapeText(ret)
return ret return ret
} }