1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 20:13:50 +08:00

adjust unescape order

This commit is contained in:
Shigma 2020-08-12 12:23:48 +08:00
parent bb03315930
commit a49a57b964

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
} }