From 0a34184ac5b06f57f6cfa35e09e5969905e6e6fe Mon Sep 17 00:00:00 2001 From: Tim DuBois Date: Sun, 25 Mar 2018 13:05:42 +0200 Subject: [PATCH] Anchor tag for summary --- components/content/src/page.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/content/src/page.rs b/components/content/src/page.rs index 26ebbf2b..6e62981b 100644 --- a/components/content/src/page.rs +++ b/components/content/src/page.rs @@ -170,7 +170,7 @@ impl Page { permalinks, anchor_insert ); - let res = markdown_to_html(&self.raw_content, &context)?; + let res = markdown_to_html(&self.raw_content.replacen("", "", 1), &context)?; self.content = res.0; self.toc = res.1; if self.raw_content.contains("") {