Skip to content

Commit

Permalink
fix: use text node to mark links to fallback pages
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Nov 29, 2024
1 parent a513184 commit 9577a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/remark-fallback-lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export function remarkFallbackLang(): Plugin<[], Root> {
if (linkSourceFileName) return;

link.children.push({
type: 'html',
value: `&nbsp;(EN)`,
type: 'text',
value: `\u00A0(EN)`,
});
});
};
Expand Down

0 comments on commit 9577a1c

Please sign in to comment.