0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-31 19:08:59 +01:00

modules/web_hook: Update formatting for line-numbered pre tags.

This commit is contained in:
Jason Volk 2022-10-12 20:03:01 -07:00
parent e8dad47247
commit bc6b7486ba

View file

@ -600,7 +600,7 @@ github_handle__push(std::ostream &out,
if(content["forced"] == "true")
out << " (rebase)";
out << "<pre><code>";
out << "<pre>";
for(ssize_t i(count - 1); i >= 0; --i)
{
const json::object &commit(commits.at(i));
@ -634,10 +634,10 @@ github_handle__push(std::ostream &out,
<< summary
;
out << "<br />";
out << "\n";
}
out << "</code></pre>";
out << "</pre>";
return true;
}