Skip to content

Commit

Permalink
Add additional space before plaintext signature
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Mar 31, 2014
1 parent 899dda0 commit 8227ae4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Compose.php
Expand Up @@ -1475,9 +1475,9 @@ protected function _createMimeMessage(
if (!empty($options['signature'])) {
if (is_string($options['signature'])) {
if (empty($options['html'])) {
$body .= "\n" . $options['signature'];
$body .= "\n\n" . trim($options['signature']);
} else {
$html_sig = $options['signature'];
$html_sig = trim($options['signature']);
$body .= "\n" . $tfilter->filter($html_sig, 'Html2text');
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion imp/lib/Prefs/Identity.php
Expand Up @@ -421,7 +421,7 @@ public function getSignature($type = 'text', $ident = null)
$val = str_replace("\r\n", "\n", $val);
$val = ($this->getValue('sig_dashes', $ident))
? "\n-- \n" . $val
: "\n" . $val;
: "\n\n" . $val;
}
}

Expand Down

0 comments on commit 8227ae4

Please sign in to comment.