1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-07-14 17:23:47 +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 {
ret := CQCodeUnescapeText(content)
ret = strings.ReplaceAll(ret, ",", ",")
ret := strings.ReplaceAll(content, ",", ",")
ret = CQCodeUnescapeText(ret)
return ret
}