From 7a0da02bf60bffd00f1e856dfe72f981d7c58b39 Mon Sep 17 00:00:00 2001 From: Jason Volk <jason@zemos.net> Date: Thu, 26 Mar 2020 19:43:13 -0700 Subject: [PATCH] modules/web_hook: Tweak spacing on pull request. --- modules/web_hook.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/web_hook.cc b/modules/web_hook.cc index 97feaa1b2..bd0003219 100644 --- a/modules/web_hook.cc +++ b/modules/web_hook.cc @@ -452,6 +452,8 @@ github_handle__pull_request(std::ostream &out, << ">" << json::string(pr["title"]) << "</a>" + << " " + << ' ' ; const json::object head @@ -514,10 +516,11 @@ github_handle__pull_request(std::ostream &out, << "<pre><code>" << body << "</code></pre>" + << " " ; if(pr.has("commits")) - out << " " + out << " " << "<b>" << pr["commits"] << ' ' @@ -530,7 +533,7 @@ github_handle__pull_request(std::ostream &out, ; if(pr.has("comments")) - out << " " + out << " " << "<b>" << pr["comments"] << ' ' @@ -543,7 +546,7 @@ github_handle__pull_request(std::ostream &out, ; if(pr.has("changed_files")) - out << " " + out << " " << "<b>" << pr["changed_files"] << ' ' @@ -557,7 +560,7 @@ github_handle__pull_request(std::ostream &out, ; if(pr.has("additions")) - out << " " + out << " " << "<b>" << "<font color=\"#33CC33\">" << "++" @@ -567,7 +570,7 @@ github_handle__pull_request(std::ostream &out, ; if(pr.has("deletions")) - out << " " + out << " " << "<b>" << "<font color=\"#CC0000\">" << "--"