From a7317dc144b515eef5f21a2bdbd4ea60a7134db5 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 6 Feb 2017 15:56:03 +0000 Subject: Bug 1335843 - Secure HTML bugmail body begins with HUGE "Subject: [Bug NNN] Bug-summary", which usually causes overflow in my email client --- extensions/SecureMail/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') 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; } -- cgit v1.2.3-24-g4f1b