From 9b411a0580295bdacfb61e2218b4096489084ad9 Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Thu, 11 Jan 2024 23:07:43 +0100 Subject: [PATCH] [trivial] Fix paper reference alignment for wiki. --- src/search/utils/markup.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/search/utils/markup.cc b/src/search/utils/markup.cc index e8c3aa71a7..21c72b2189 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();