diff --git a/static/html/setting_left.html b/static/html/setting_left.html
index 58092b6..327ec96 100644
--- a/static/html/setting_left.html
+++ b/static/html/setting_left.html
@@ -37,7 +37,7 @@
设置mysql
配置参数
IP黑名单
- 设置网页部署
+ 网页部署
diff --git a/static/js/functions.js b/static/js/functions.js
index fb9c50c..091af53 100644
--- a/static/js/functions.js
+++ b/static/js/functions.js
@@ -77,6 +77,11 @@ function replaceContent (content) {// 转义聊天内容中的特殊字符
var src = face.replace(/^img\[/g, '').replace(/\]/g, '');;
return '';
})
+ .replace(/\[([^\s\[\]]+?)\]+link\[([^\s\[\]]+?)\]/g, function (face) { // 转义超链接
+ var text = face.replace(/link\[.*?\]/g, '').replace(/\[|\]/g, '');
+ var src = face.replace(/^\[([^\s\[\]]+?)\]+link\[/g, '').replace(/\]/g, '');
+ return '【'+text+'】';
+ })
.replace(html(), '\<$1 $2\>').replace(html('/'), '\$1\>') // 转移HTML代码
.replace(/\n/g, '
') // 转义换行