From 492f0670840fc3880957407d92c63a4edc512086 Mon Sep 17 00:00:00 2001 From: Steven Engler Date: Fri, 13 Sep 2019 00:42:37 -0400 Subject: [PATCH] Fixed a table of contents layout bug --- layouts/_default/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cc72110..5e3a900 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -21,8 +21,8 @@ Table of Contents {{ $toc := .TableOfContents -}} - {{- $toc := replaceRE `` $toc -}} + {{- $toc := replaceRE `(\s?)${1}` $toc -}} {{- safeHTML $toc }}