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:
parent
e8dad47247
commit
bc6b7486ba
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue