From c9388a94c1d1d04c4b195c47e0da8c8866b715f9 Mon Sep 17 00:00:00 2001 From: Key Date: Sat, 7 Feb 2026 01:40:10 +0000 Subject: [PATCH] fix(NoBulletPoints): regex (#738) makes the regex a little more loose so it doesnt consider bolded words to be bullet points --- src/equicordplugins/noBulletPoints/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equicordplugins/noBulletPoints/index.tsx b/src/equicordplugins/noBulletPoints/index.tsx index 5959a46da..cedd4226c 100644 --- a/src/equicordplugins/noBulletPoints/index.tsx +++ b/src/equicordplugins/noBulletPoints/index.tsx @@ -16,5 +16,5 @@ export default definePlugin({ }); function textProcessing(text: string): string { - return text.replace(/([*-]) /g, "\\$1 "); + return text.replace(/(^|\n)(\s*)([*+-])\s+/g, "$1$2\\$3 "); }