diff --git a/src/search/utils/markup.cc b/src/search/utils/markup.cc
index d22f4025a..867ffd11d 100644
--- a/src/search/utils/markup.cc
+++ b/src/search/utils/markup.cc
@@ -33,8 +33,8 @@ string format_conference_reference(
ostringstream ss;
ss << "\n\n"
<< format_authors(authors) << ".<
>\n"
- << " [" << t2t_escape(title) << " " << url << "].<
>\n"
- << " In //" << t2t_escape(conference) << "//";
+ << "[" << t2t_escape(title) << " " << url << "].<
>\n"
+ << "In //" << t2t_escape(conference) << "//";
if (!pages.empty())
ss << ", pp. " << t2t_escape(pages);
ss << ". ";
@@ -51,8 +51,8 @@ string format_journal_reference(
ostringstream ss;
ss << "\n\n"
<< format_authors(authors) << ".<
>\n"
- << " [" << t2t_escape(title) << " " << url << "].<
>\n"
- << " //" << t2t_escape(journal) << "// "
+ << "[" << t2t_escape(title) << " " << url << "].<
>\n"
+ << "//" << t2t_escape(journal) << "// "
<< t2t_escape(volume) << ":" << t2t_escape(pages) << ". "
<< t2t_escape(year) << ".\n\n\n";
return ss.str();