From cbb202510add8d1569140d232f2e4a9cffe88887 Mon Sep 17 00:00:00 2001
From: tastytea
Date: Sat, 17 Oct 2020 07:07:48 +0200
Subject: [PATCH] Fix HTML in generators.
Apparently lists can't be in inside paragraphs.
---
src/generators/html.cpp | 6 +++---
src/generators/rss.cpp | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/generators/html.cpp b/src/generators/html.cpp
index 5d923fd..1a42338 100644
--- a/src/generators/html.cpp
+++ b/src/generators/html.cpp
@@ -71,13 +71,13 @@ void write_html(ostream &out, const vector &entries)
out << tag;
}
out << "
\n";
- out << " Receipts:\n
\n";
+ out << " Receipts:\n \n \n";
+ out << "
\n";
if (!entry.screenshot_filepath.empty())
{
out << " Screenshot:
"
diff --git a/src/generators/rss.cpp b/src/generators/rss.cpp
index c884c35..d9336a9 100644
--- a/src/generators/rss.cpp
+++ b/src/generators/rss.cpp
@@ -161,13 +161,13 @@ void write_rss(ostream &out, const vector &entries,
item_description += tag;
}
item_description += "
";
- item_description += "Receipts:
";
+ item_description += "Receipts:";
for (const auto &receipt : entry.receipts)
{
((((item_description += "- ") +=
receipt) += "
";
}
- item_description += "
";
+ item_description += "
";
if (!entry.screenshot_filepath.empty())
{
item_description += "Screenshot:
";