1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08: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
commit c6f701e8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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