]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1335843 - Secure HTML bugmail body begins with HUGE "Subject: [Bug NNN] Bug-summa...
authorDavid Lawrence <dkl@mozilla.com>
Mon, 6 Feb 2017 15:56:03 +0000 (15:56 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Mon, 6 Feb 2017 15:56:19 +0000 (15:56 +0000)
extensions/SecureMail/Extension.pm

index d3dc023f6b64494d9e255b73d25e387365b24522..0219ac3ba77142f5489a809f31f3000d7644fc8b 100644 (file)
@@ -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;
     }