From 2b81656b6715420ef8203021ca7747fc11a30778 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 6 Feb 2023 17:04:22 -0500 Subject: [PATCH] fix: render attributes to html --- examples/with-markdoc/src/renderer/RenderNode.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/with-markdoc/src/renderer/RenderNode.astro b/examples/with-markdoc/src/renderer/RenderNode.astro index c5f2eb07b..a683cd983 100644 --- a/examples/with-markdoc/src/renderer/RenderNode.astro +++ b/examples/with-markdoc/src/renderer/RenderNode.astro @@ -1,4 +1,5 @@ --- +import stringifyAttributes from 'stringify-attributes'; import type { AstroNode } from './astroNode'; type Props = { @@ -19,7 +20,7 @@ const Node = (Astro.props as Props).node; ) : ( - `} /> + `} /> {Node.children.map((child) => ( ))}