HTML generator: Prettier HTML.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d4f4e8ae16
commit
870039a7d6
|
@ -106,16 +106,17 @@ void write_html(ostream &out, const vector<entry_type> &entries)
|
||||||
out << tag;
|
out << tag;
|
||||||
}
|
}
|
||||||
out << "</p>\n";
|
out << "</p>\n";
|
||||||
out << " <p><strong>Receipts:</strong><br>";
|
out << " <p><strong>Receipts:</strong><br>\n";
|
||||||
for (const auto &receipt : entry.receipts)
|
for (const auto &receipt : entry.receipts)
|
||||||
{
|
{
|
||||||
if (receipt != *(entry.receipts.begin()))
|
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())
|
if (!entry.screenshot_filepath.empty())
|
||||||
{
|
{
|
||||||
out << " <p><strong>Screenshot:</strong><br>"
|
out << " <p><strong>Screenshot:</strong><br>"
|
||||||
|
|
Reference in New Issue