From ae061c125d4b00e649f63d8dad360084697ad75c Mon Sep 17 00:00:00 2001 From: moss-bryophyta <261561981+moss-bryophyta@users.noreply.github.com> Date: Wed, 24 Jun 2026 08:03:42 -0700 Subject: [PATCH] fix: remove double space in jsx code-fence info strings The dictionary.jsx code blocks used ```jsx title (two spaces), which can break syntax highlighting/title parsing in some renderers. Normalized to a single space, fixing the template and both generated pages. --- docs-templates/api/dictionary/use-translations.mdx | 2 +- docs/en-US/next/api/dictionary/get-translations.mdx | 2 +- docs/en-US/next/api/dictionary/use-translations.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs-templates/api/dictionary/use-translations.mdx b/docs-templates/api/dictionary/use-translations.mdx index 13275afc..3d842ce3 100644 --- a/docs-templates/api/dictionary/use-translations.mdx +++ b/docs-templates/api/dictionary/use-translations.mdx @@ -125,7 +125,7 @@ export default function TranslateGreeting() { ### Using prefixes We can use prefixes to only translate a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight] diff --git a/docs/en-US/next/api/dictionary/get-translations.mdx b/docs/en-US/next/api/dictionary/get-translations.mdx index 2a569573..967fec8e 100644 --- a/docs/en-US/next/api/dictionary/get-translations.mdx +++ b/docs/en-US/next/api/dictionary/get-translations.mdx @@ -126,7 +126,7 @@ export default async function TranslateGreeting() { ### Using prefixes We can use prefixes to only fetch a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight] diff --git a/docs/en-US/next/api/dictionary/use-translations.mdx b/docs/en-US/next/api/dictionary/use-translations.mdx index 26e75d34..e9e8a317 100644 --- a/docs/en-US/next/api/dictionary/use-translations.mdx +++ b/docs/en-US/next/api/dictionary/use-translations.mdx @@ -120,7 +120,7 @@ export default async function TranslateGreeting() { ### Using prefixes We can use prefixes to only translate a subset of the dictionary. -```jsx title="dictionary.jsx" copy +```jsx title="dictionary.jsx" copy const dictionary = { prefix1: { // [!code highlight] prefix2: { // [!code highlight]