From b9435c9ae1d79d37c8990d205b8e5f25822b6b52 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 13 Jul 2023 21:45:54 +0000 Subject: [PATCH] Fallback language for code MFM should be plaintext --- packages/client/src/components/MkCode.core.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkCode.core.vue b/packages/client/src/components/MkCode.core.vue index 579c6cf1e..00cded283 100644 --- a/packages/client/src/components/MkCode.core.vue +++ b/packages/client/src/components/MkCode.core.vue @@ -18,7 +18,7 @@ const props = defineProps<{ }>(); const prismLang = computed(() => - Prism.languages[props.lang] ? props.lang : "js", + Prism.languages[props.lang] ? props.lang : "plaintext", ); const html = computed(() => Prism.highlight(