From ba71f5f4b9147085a9fdf14d412d2776b03c241f Mon Sep 17 00:00:00 2001 From: min Date: Wed, 10 Jun 2026 01:41:04 +0300 Subject: [PATCH] =?UTF-8?q?fix(studio):=20=D1=83=D0=B1=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B9=20escape=20\[=20?= =?UTF-8?q?=D0=B2=20docsLang=20regex=20(CI=20lint=20error=20=D0=B8=D0=B7?= =?UTF-8?q?=20=D0=B2=D0=BB=D0=B8=D1=82=D0=BE=D0=B3=D0=BE=20main)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- src/community/docsLang.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/community/docsLang.jsx b/src/community/docsLang.jsx index ffeb43d..7118e92 100644 --- a/src/community/docsLang.jsx +++ b/src/community/docsLang.jsx @@ -83,7 +83,7 @@ export function highlightCode(text, lang) { // Классифицируем if (tok.startsWith('--') || tok.startsWith('//') || tok.startsWith('/*')) { tokens.push({ type: 'comment', text: tok }); - } else if (/^["'`\[]/.test(tok)) { + } else if (/^["'`[]/.test(tok)) { tokens.push({ type: 'string', text: tok }); } else if (/^\d/.test(tok)) { tokens.push({ type: 'number', text: tok });