mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-02-27 00:36:19 +08:00
fix: Fixed the issue of task log crashes. (#10599)
This commit is contained in:
parent
222181baff
commit
8983cb6186
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ const systemRules: TokenRule[] = [
|
|||
const taskRules: TokenRule[] = [
|
||||
{
|
||||
type: 'bracket-text',
|
||||
pattern: /\[(?:[^\[\]]*(?:\[[^\[\]]*\])*[^\[\]]*)*\]/g,
|
||||
pattern: /\[(?:[^\[\]]|\[[^\[\]]*\]){0,100}\]/g,
|
||||
color: '#B87A2B',
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue