From 9577a1c2291fa9f628f3eaca6b77111d712ddfa7 Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:16:28 +0100 Subject: [PATCH] fix: use text node to mark links to fallback pages --- plugins/remark-fallback-lang.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/remark-fallback-lang.ts b/plugins/remark-fallback-lang.ts index 127accc4894a3..9ba175e758ce5 100644 --- a/plugins/remark-fallback-lang.ts +++ b/plugins/remark-fallback-lang.ts @@ -30,8 +30,8 @@ export function remarkFallbackLang(): Plugin<[], Root> { if (linkSourceFileName) return; link.children.push({ - type: 'html', - value: ` (EN)`, + type: 'text', + value: `\u00A0(EN)`, }); }); };