From c860f463059cdcf7484b62623e87bf16b86c9cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B0=9E=E7=B4=94?= <287182701@qq.com> Date: Wed, 16 Aug 2023 18:46:29 +0800 Subject: [PATCH] Update index.md --- source/av/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/av/index.md b/source/av/index.md index 8019f4b..cd33424 100644 --- a/source/av/index.md +++ b/source/av/index.md @@ -2,7 +2,6 @@ layout: false --- {% raw %} - @@ -1400,7 +1399,7 @@ function av() { var tasklist = document.getElementById('tasklist').value; var result = document.getElementById('result'); if (tasklist != "" && tasklist) { - let tasks=tasklist.split(" "); + let tasks=tasklist.split(/\s+/); if (tasks) { var htmlContent = ""; for (i = 0; i < Object.keys(avList).length; i++) {