From 49eb673c402b87b695b9b66f924220231b74d634 Mon Sep 17 00:00:00 2001 From: Leah Date: Thu, 29 Aug 2024 22:09:43 +0200 Subject: [PATCH] fix nyaize line --- .../src/components/global/MkMisskeyFlavoredMarkdown.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts index f42e8b1e80..3d496f1515 100644 --- a/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts +++ b/packages/frontend/src/components/global/MkMisskeyFlavoredMarkdown.ts @@ -58,8 +58,7 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext ast.map((token): VNode | string | (VNode | string)[] => { - if (defaultStore.state.disableCatSpeak) - disableNyaize = true switch (token.type) { case 'text': { let text = token.props.text.replace(/(\r\n|\n|\r)/g, '\n');