From 261f7b66eff8ed52137e7ae2b6372a9a99c5ad46 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 6 Nov 2024 19:41:42 +0800 Subject: [PATCH] :bug: Fix: inaccurate task lists regular expression --- layouts/partials/function/task-lists.html | 6 +++--- layouts/partials/init/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/function/task-lists.html b/layouts/partials/function/task-lists.html index b382da87..00aab260 100644 --- a/layouts/partials/function/task-lists.html +++ b/layouts/partials/function/task-lists.html @@ -28,10 +28,10 @@ */ -}} {{- $icon := dict "Class" (add "checkbox-icon fa-fw " (index $iconMap " ")) | partial "plugin/icon.html" -}} {{- $label := T (printf "taskList.%v" " ") -}} -{{- $content := replaceRE `
)* (.+?)(
\n)*)* (.+?)(
\n)*)*\[%s\] (.+?)(
\n)*