summaryrefslogtreecommitdiff
path: root/packages/markdown/component/Markdown.astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/component/Markdown.astro')
-rw-r--r--packages/markdown/component/Markdown.astro2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/markdown/component/Markdown.astro b/packages/markdown/component/Markdown.astro
index 7e346b4cc..c581c72b0 100644
--- a/packages/markdown/component/Markdown.astro
+++ b/packages/markdown/component/Markdown.astro
@@ -50,4 +50,6 @@ if (content) {
html = htmlContent;
---
+<>
{html ? <Fragment set:html={html} /> : <slot />}
+</>