update
This commit is contained in:
+3
-1
@@ -32,7 +32,9 @@ func (sender *Sender) GetContent() string {
|
|||||||
text = coolq.ToStringMessage(m.Elements, m.GroupCode, true)
|
text = coolq.ToStringMessage(m.Elements, m.GroupCode, true)
|
||||||
}
|
}
|
||||||
text = strings.Replace(text, "amp;", "", -1)
|
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
|
return text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user