perf: 优化消息&符号
This commit is contained in:
@@ -542,6 +542,7 @@ class WebSocketDialogMsg extends AbstractModel
|
||||
if (!$preserveHtml) {
|
||||
$text = strip_tags($text);
|
||||
$text = str_replace(" ", " ", $text);
|
||||
$text = str_replace("&", "&", $text);
|
||||
}
|
||||
return $text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user