From 21cefacbc05ec05c1409bafc479cdd2034f88197 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 24 Jan 2026 01:34:04 +0100 Subject: [PATCH] limit length --- src/plugins/pinDms/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/pinDms/index.tsx b/src/plugins/pinDms/index.tsx index e5c6d5159..4dfa4dfa7 100644 --- a/src/plugins/pinDms/index.tsx +++ b/src/plugins/pinDms/index.tsx @@ -95,7 +95,7 @@ export default definePlugin({ replace: "$&if($self.isCategoryIndex($1.section))return $self.renderCategory($1);" }, { - match: /"renderSection".+?"span",{/, + match: /"renderSection".{0,300}?"span",{/, replace: "$&...$self.makeSpanProps()," },