From 4606d0478058471f41b9b8109efc2f50f05c3cae Mon Sep 17 00:00:00 2001
From: tastytea
Date: Fri, 30 Oct 2020 22:03:26 +0100
Subject: [PATCH] Reformat.
---
src/generators/rss.cpp | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/generators/rss.cpp b/src/generators/rss.cpp
index f63c3a2..902feae 100644
--- a/src/generators/rss.cpp
+++ b/src/generators/rss.cpp
@@ -15,6 +15,7 @@
*/
#include "rss.hpp"
+
#include "cgi.hpp"
#include "files.hpp"
#include "git.hpp"
@@ -158,17 +159,18 @@ void write_rss(ostream &out, const vector &entries,
tmp_item_description += "
Receipts:";
for (const auto &receipt : entry.receipts)
{
- tmp_item_description += format(
- "- {0:s}
", receipt);
+ tmp_item_description += format("- "
+ "{0:s}
",
+ receipt);
}
tmp_item_description += "
";
if (!entry.screenshot_filepath.empty())
{
tmp_item_description += "Screenshot:
";
- tmp_item_description += format(
- "
\n",
- baseurl, entry.screenshot_filepath);
+ tmp_item_description += format(""
+ "\n",
+ baseurl, entry.screenshot_filepath);
}
auto item_description{item.append_child("description")};
item_description.append_child(pugi::node_cdata)