diff --git a/package.json b/package.json
index ca634c51..0a416bcc 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,7 @@
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"prettier": "^3.8.4",
+ "mdast-util-mdx-jsx": "^3.2.0",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-sentences-per-line": "^0.2.3",
"remark-cli": "^12.0.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bfd1796c..2cd03bcf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -48,6 +48,9 @@ importers:
lint-staged:
specifier: ^17.0.8
version: 17.0.8
+ mdast-util-mdx-jsx:
+ specifier: ^3.2.0
+ version: 3.2.0
mdx2vast:
specifier: ^0.3.1
version: 0.3.1
diff --git a/src/components/Glossary.astro b/src/components/Glossary.astro
index 5a746714..1439de25 100644
--- a/src/components/Glossary.astro
+++ b/src/components/Glossary.astro
@@ -21,9 +21,7 @@ const definition =
slotContent?.trim() || glossaryEntry?.definition || 'Definition not found';
---
-
- {term}
-
+{term.trim()}