diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg
index a955254f25..f89739df69 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -38,7 +38,7 @@ doc.section.toc = """
# * $seeSrc: generated HTML from doc.item.seesrc (if some switches are used).
doc.item = """
-
+
$header
$desc
diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
index 8ba90657b9..e7f9cd5087 100644
--- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html
+++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
@@ -1277,7 +1277,7 @@ function main() {
-
+
proc someType(): SomeType {...}{.raises: [], tags: [].}
-
constructor.
diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html
index 2ea18323fe..1d09d809cb 100644
--- a/nimdoc/testproject/expected/testproject.html
+++ b/nimdoc/testproject/expected/testproject.html
@@ -1308,7 +1308,7 @@ function main() {
-
+
proc bar[T](a, b: T): T
-
@@ -1319,7 +1319,7 @@ function main() {
-
+
macro bar(): untyped
-
@@ -1330,7 +1330,7 @@ function main() {
-
+
template foo(a, b: SomeType)
-
This does nothing