summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-06 16:56:03 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-06 16:56:19 +0100
commita7317dc144b515eef5f21a2bdbd4ea60a7134db5 (patch)
treefbf66e65ef746770bf8b4703c7dd93a4e5f6773d /extensions
parentbc705ae4c2fb5b4a22c1c1594ea2791545d12cc4 (diff)
downloadbugzilla-a7317dc144b515eef5f21a2bdbd4ea60a7134db5.tar.gz
bugzilla-a7317dc144b515eef5f21a2bdbd4ea60a7134db5.tar.xz
Bug 1335843 - Secure HTML bugmail body begins with HUGE "Subject: [Bug NNN] Bug-summary", which usually causes overflow in my email client
Diffstat (limited to 'extensions')
-rw-r--r--extensions/SecureMail/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index d3dc023f6..0219ac3ba 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -644,7 +644,7 @@ sub _insert_subject {
elsif ($content_type =~ /^text\/html/) {
my $tree = HTML::Tree->new->parse_content($part->body_str);
my $body = $tree->look_down(qw(_tag body));
- $body->unshift_content(['h1', "Subject: $subject"], ['br']);
+ $body->unshift_content(['strong', "Subject: $subject"], ['br']);
$part->body_str_set($tree->as_HTML);
$tree->delete;
}