HTML generator: Prettier HTML.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-07-02 11:50:04 +02:00
parent d4f4e8ae16
commit 870039a7d6
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 5 additions and 4 deletions

View File

@ -106,16 +106,17 @@ void write_html(ostream &out, const vector<entry_type> &entries)
out << tag;
}
out << "</p>\n";
out << " <p><strong>Receipts:</strong><br>";
out << " <p><strong>Receipts:</strong><br>\n";
for (const auto &receipt : entry.receipts)
{
if (receipt != *(entry.receipts.begin()))
{
out << "<br>";
out << "<br>\n";
}
out << "<a href=\"" << receipt << "\">" << receipt << "</a>";
out << " <a href=\"" << receipt << "\">" << receipt
<< "</a>";
}
out << "</p>\n";
out << "\n </p>\n";
if (!entry.screenshot_filepath.empty())
{
out << " <p><strong>Screenshot:</strong><br>"