Stop putting font-* styles on html, head, meta, br in emails
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 7 Mar 2019 11:37:45 +0000 (12:37 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 7 Mar 2019 11:37:45 +0000 (12:37 +0100)
com.woltlab.wcf/templates/email_html.tpl

index 83954a188c70ca6bc9d13392502a69a5cbbcfc9d..b6845a1b794cb78d5caf4eb2e3388c39c3b15af2 100644 (file)
@@ -1,7 +1,7 @@
 <html>
        <head>
                <style type="text/css">
-               * {
+               *:not(html):not(head):not(meta):not(br) {
                        font-family: {@$style->getVariable('wcfFontFamilyFallback', true)};
                        font-size: {$style->getVariable('wcfFontSizeDefault')};
                }