Update Nlbench_beta.sh

This commit is contained in:
Jensfrank 2024-07-02 21:33:57 +08:00 committed by GitHub
parent df018cfead
commit b10efa9b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,7 +123,7 @@ show_welcome() {
# Markdown 转义函数
escape_markdown() {
sed 's/```/\\`\\`\\`/g' | sed 's/\[/\\[/g' | sed 's/\]/\\]/g' | sed 's/\*/\\*/g' | sed 's/_/\\_/g'
sed -E 's/\x1b\[[0-9;]*[a-zA-Z]//g'
}
# 执行YABS测试