diff --git a/src/api/posts.rs b/src/api/posts.rs
index 8d16eac..693f1ca 100644
--- a/src/api/posts.rs
+++ b/src/api/posts.rs
@@ -261,7 +261,7 @@ fn render_markdown_enhanced(md: &str) -> RenderedContent {
HeadingLevel::H6 => "h6",
};
html.push_str(&format!(
- "#{}>",
+ "#{}>",
id, tag
));
heading_idx += 1;