Skip to content

Commit d3eed4d

Browse files
committed
(rendered) FIX: extra space in some generated tags
1 parent 5cc1614 commit d3eed4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/astro-markdoc-renderer/src/MarkdocRenderer.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ node.validateElement();
3838
const Tag = node.tag;
3939
const props = node.props;
4040
const children = node.children;
41+
42+
// IMPORTANT - DO NOT ADD EXTRA LINE TO THE END OF THIS FILE.
43+
// ASTRO ADDS AN EXTRA SPACE IN ANCHOR TAGS WHEN YOU DO.
4144
---
4245

4346
{
@@ -56,4 +59,4 @@ const children = node.children;
5659
) : null}
5760
</Tag>
5861
) : null
59-
}
62+
}

0 commit comments

Comments
 (0)