]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1518266 - Font of comment emails is rendered too large since markdown has been...
authorDylan William Hardison <dylan@hardison.net>
Tue, 8 Jan 2019 16:35:58 +0000 (11:35 -0500)
committerGitHub <noreply@github.com>
Tue, 8 Jan 2019 16:35:58 +0000 (11:35 -0500)
extensions/BMO/template/en/default/email/bugmail.html.tmpl

index 0e6620bf82b014a6949d2e363dccfac9a8000053..d6c2ede85edd25ff7b7ffac19de18559935ff727 100644 (file)
@@ -13,9 +13,6 @@
 <html>
 <head>
   <base href="[% urlbase FILTER html %]">
-  <style>
-    .comment { font-size: initial !important; }
-  </style>
 </head>
 <body style="font-family: sans-serif">
 
@@ -55,7 +52,7 @@
           [% ELSE %]
             [% comment_tag = 'pre' %]
           [% END %]
-          <[% comment_tag FILTER none %] class="comment" style="font-size: initial">[% comment.body_full({ wrap => 1 }) FILTER renderMarkdown(bug, comment) %]</[% comment_tag FILTER none %]>
+          <[% comment_tag FILTER none %] class="comment" [% IF comment_tag == 'pre' %] style="font-size: initial" [% END %]>[% comment.body_full({ wrap => 1 }) FILTER renderMarkdown(bug, comment) %]</[% comment_tag FILTER none %]>
         </div>
       [% END %]
     </div>