From 0c30dfa0929ad6b725823cd2d6303fad41d6da01 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:37:04 +0800 Subject: [PATCH] style: Adjust the style of task logs (#9863) --- frontend/src/components/log/custom-hightlight/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/log/custom-hightlight/index.vue b/frontend/src/components/log/custom-hightlight/index.vue index 3b0cd0ead..717cafebd 100644 --- a/frontend/src/components/log/custom-hightlight/index.vue +++ b/frontend/src/components/log/custom-hightlight/index.vue @@ -89,7 +89,7 @@ const systemRules: TokenRule[] = [ const taskRules: TokenRule[] = [ { type: 'bracket-text', - pattern: /\[([^\]]+)\]/g, + pattern: /\[(?:[^\[\]]*(?:\[[^\[\]]*\])*[^\[\]]*)*\]/g, color: '#B87A2B', }, ];