HTML generator: Make screenshots clickable.
This commit is contained in:
parent
92e137f3b2
commit
d4f4e8ae16
|
@ -118,10 +118,10 @@ void write_html(ostream &out, const vector<entry_type> &entries)
|
|||
out << "</p>\n";
|
||||
if (!entry.screenshot_filepath.empty())
|
||||
{
|
||||
out << " <p><strong>Screenshot:</strong><br>\n";
|
||||
out << " <img src=\"" << entry.screenshot_filepath
|
||||
<< R"(" height="100">)" << '\n';
|
||||
out << " </p>\n";
|
||||
out << " <p><strong>Screenshot:</strong><br>"
|
||||
<< "<a href=\"" << entry.screenshot_filepath << "\"><img src=\""
|
||||
<< entry.screenshot_filepath << R"(" height="100"></a></p>)"
|
||||
<< '\n';
|
||||
}
|
||||
out << " </details>\n";
|
||||
}
|
||||
|
|
Reference in New Issue