From 5a3fbbfb306a4a6239eac3fad37be07b3e530ba0 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jan 2023 03:49:43 +0100 Subject: [PATCH] unscuff profiles --- src/plugins/apiBadges.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/apiBadges.tsx b/src/plugins/apiBadges.tsx index 72c19f37..d14678c1 100644 --- a/src/plugins/apiBadges.tsx +++ b/src/plugins/apiBadges.tsx @@ -73,7 +73,7 @@ export default definePlugin({ replace: (_, imageMap, badge) => `src: ${badge}.image ?? ${imageMap}[${badge}.key], ...${badge}.props,` }, { - match: /spacing:(\d{1,2}),children:(.{1,40}(.{1,2})\.jsx.+(.{1,2})\.onClick.+\)})},/, + match: /spacing:(\d{1,2}),children:(.{1,40}(.{1,2})\.jsx.+?(.{1,2})\.onClick.+?\)})},/, // if the badge provides it's own component, render that instead of an image // the badge also includes info about the user that has it (type BadgeUserArgs), which is why it's passed as props replace: (_, s, origBadgeComponent, React, badge) =>