Update nodeloc_vps_autotest_ip.sh

This commit is contained in:
Jensfrank 2024-06-27 12:40:42 +08:00 committed by GitHub
parent 33a00e1e97
commit 14897b441f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,10 +158,7 @@ run_all_tests() {
# 格式化结果为 Markdown
format_results() {
# 转义特殊字符,但保留颜色代码
escaped_result=$(echo "$ip_quality_result" | sed 's/\\/\\\\/g; s/`/\\`/g; s/\$/\\$/g; s/\*/\\*/g; s/_/\\_/g')
result="[tabs]
result="[tabs]
[tab=\"IP质量\"]
\`\`\`ansi
$escaped_result