From c5d8a3336cc9f5dd7b4115b7f86fdb86474ca462 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 c5f2eb07b490..a683cd9839e5 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) => ( ))}