This commit is contained in:
cdle
2021-10-08 06:57:22 +08:00
parent ffaee886a0
commit de57bcb254
+3 -1
View File
@@ -32,7 +32,9 @@ func (sender *Sender) GetContent() string {
text = coolq.ToStringMessage(m.Elements, m.GroupCode, true)
}
text = strings.Replace(text, "amp;", "", -1)
// text = regexp.MustCompile(`&#\d+;`).ReplaceAllString(text, "")
text = strings.Replace(text, "[", "[", -1)
text = strings.Replace(text, "]", "]", -1)
// text = regexp.MustCompile(`]`).ReplaceAllString(text, "")
return text
}