From 7e655da977c05a5c5e1a0d33ba37bef9167172ce Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 25 Aug 2014 11:35:29 -0700 Subject: [PATCH] Use a single newline between HTML mail sections Summary: Ref T992. This makes HTML mail layout more consistent with text mail layout and fixes my greatest annoyance with it. Test Plan: Used `bin/mail list-outbound --id --dump-html` to view mail in Safari, saw it have a normal amount of whitespace between sections. Reviewers: btrahan, talshiri, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T992 Differential Revision: https://secure.phabricator.com/D10344 --- src/applications/metamta/view/PhabricatorMetaMTAMailBody.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php b/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php index ae950fd464..9f5b7be099 100644 --- a/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php +++ b/src/applications/metamta/view/PhabricatorMetaMTAMailBody.php @@ -154,7 +154,7 @@ final class PhabricatorMetaMTAMailBody { public function renderHTML() { $br = phutil_tag('br'); - $body = phutil_implode_html(array($br, $br), $this->htmlSections); + $body = phutil_implode_html($br, $this->htmlSections); return (string)hsprintf('%s', array($body, $br)); } -- 2.54.0