From 14897b441f19c845478272bc8ae06bff6ee4e4c7 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 27 Jun 2024 12:40:42 +0800 Subject: [PATCH] Update nodeloc_vps_autotest_ip.sh --- nodeloc_vps_autotest_ip.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nodeloc_vps_autotest_ip.sh b/nodeloc_vps_autotest_ip.sh index 6d205ed..1e5c828 100644 --- a/nodeloc_vps_autotest_ip.sh +++ b/nodeloc_vps_autotest_ip.sh @@ -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