diff --git a/examples/1ptracer/README.md b/examples/1ptracer/README.md
index 0ebe64e72ab4c2ae695fa91d90062ff0fa245883..6564359644765b27426d259eef98ed999a7db695 100644
--- a/examples/1ptracer/README.md
+++ b/examples/1ptracer/README.md
@@ -120,13 +120,13 @@ simulations are solved sequentially in the main file (`main.cc`).
 | [:arrow_right: Click to continue with part 1 of the documentation](doc/1pmodel.md) |
 |---:|
 
- 
+
 ## Part 2: Tracer transport simulation setup
 
 | [:arrow_right: Click to continue with part 2 of the documentation](doc/tracermodel.md) |
 |---:|
 
- 
+
 ## Part 3: Main program flow
 
 | [:arrow_right: Click to continue with part 3 of the documentation](doc/main.md) |
diff --git a/examples/generate_example_docs.py b/examples/generate_example_docs.py
index fa9f1704aed73df8cb692f12486813f98e4189f8..22b874fe1b388e0a4f9c17499445b5f9f8fc003e 100755
--- a/examples/generate_example_docs.py
+++ b/examples/generate_example_docs.py
@@ -34,7 +34,7 @@ class Navigation:
         self.snippets[mainpage] = { "header" : "", "footer" : "" }
         makeHead = lambda t: "\n## {}\n\n".format(t)
         makeEntry = lambda i,l: "| [:arrow_right: Click to continue with part {} of the documentation]({}) |\n|---:|\n\n".format(i,l)
-        self.snippets[mainpage]["footer"] = " ".join(
+        self.snippets[mainpage]["footer"] = "".join(
             [ makeHead(title) + makeEntry(index+1, self.getRelPath(mainpage, subpage)) for index, (subpage, title) in enumerate(zip(subpages, subtitles))]
         ).rstrip("\n")