diff --git a/tests/markdown-citations.chicago-author-date.html b/tests/markdown-citations.chicago-author-date.html
index 8f01bc980..05434493f 100644
--- a/tests/markdown-citations.chicago-author-date.html
+++ b/tests/markdown-citations.chicago-author-date.html
@@ -25,7 +25,7 @@
 ><h1 id="references"
 >References</h1
 ><p
->Doe,  John. 2005. <em
+>Doe, John. 2005. <em
   >First Book</em
   >. Cambridge: Cambridge University Press.</p
 ><p
@@ -33,7 +33,7 @@
   >Journal of Generic Studies</em
   > 6: 33–34.</p
 ><p
->Doe,  John, and Jenny Roe. 2007. Why Water Is Wet. In <em
+>Doe, John, and Jenny Roe. 2007. Why Water Is Wet. In <em
   >Third Book</em
   >, ed. Sam Smith. Oxford: Oxford University Press.</p
 ><div class="footnotes"
@@ -53,4 +53,4 @@
       ></li
     ></ol
   ></div
->
\ No newline at end of file
+>
diff --git a/tests/markdown-citations.ieee.html b/tests/markdown-citations.ieee.html
index 7c7d811ff..f076a4675 100644
--- a/tests/markdown-citations.ieee.html
+++ b/tests/markdown-citations.ieee.html
@@ -27,15 +27,15 @@
 ><p
 >[1] J. Doe, <em
   >First Book</em
-  >,  Cambridge: Cambridge University Press, 2005.</p
+  >, Cambridge: Cambridge University Press, 2005.</p
 ><p
 >[2] J. Doe, “Article”, <em
   >Journal of Generic Studies</em
-  >,  vol. 6, 2006, pp. 33–34.</p
+  >, vol. 6, 2006, pp. 33–34.</p
 ><p
 >[3] J. Doe and J. Roe, “Why Water Is Wet”, <em
   >Third Book</em
-  >, Smith,  S., Ed.,  Oxford: Oxford University Press, 2007.</p
+  >, Smith, S., Ed., Oxford: Oxford University Press, 2007.</p
 ><div class="footnotes"
 ><hr
    /><ol
@@ -53,4 +53,4 @@
       ></li
     ></ol
   ></div
->
\ No newline at end of file
+>
diff --git a/tests/markdown-citations.mhra.html b/tests/markdown-citations.mhra.html
index 29c69d1a9..2964ed8b7 100644
--- a/tests/markdown-citations.mhra.html
+++ b/tests/markdown-citations.mhra.html
@@ -57,7 +57,7 @@
 ><h1 id="references"
 >References</h1
 ><p
->Doe,  John, ‘Article’, <em
+>Doe, John, ‘Article’, <em
   >Journal of Generic Studies</em
   >, 6 (2006), 33–34.</p
 ><p
@@ -65,7 +65,7 @@
   >First Book</em
   > (Cambridge: Cambridge University Press, 2005).</p
 ><p
->Doe,  John, and Jenny Roe, ‘Why Water Is Wet’, in <em
+>Doe, John, and Jenny Roe, ‘Why Water Is Wet’, in <em
   >Third Book</em
   >, ed by Sam Smith (Oxford: Oxford University Press, 2007).</p
 ><div class="footnotes"