| @@ -42,10 +42,10 @@ | ||
| 42 | 42 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 43 | 43 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 44 | 44 | <title></title> |
| 45 | 45 | <?php */ ?></head> |
| 46 | -<body style="Margin:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;min-width:100%;<?php echo $body_color; ?>" <?php echo is_rtl() ? 'rightmargin="0"' : 'leftmargin="0"'; ?> > | |
| 47 | -<div class="wrapper" style="table-layout:fixed;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;Margin:0;padding-top:10px;padding-bottom:10px;padding-right:10px;padding-left:10px;<?php echo $body_color; ?>" <?php echo is_rtl() ? 'dir="rtl"' : 'dir="ltr"'?> > | |
| 46 | +<body style="Margin:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;min-width:100%;<?php echo esc_attr( $body_color ); ?>" <?php echo is_rtl() ? 'rightmargin="0"' : 'leftmargin="0"'; ?> > | |
| 47 | +<div class="wrapper" style="table-layout:fixed;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;Margin:0;padding-top:10px;padding-bottom:10px;padding-right:10px;padding-left:10px;<?php echo esc_attr( $body_color ); ?>" <?php echo is_rtl() ? 'dir="rtl"' : 'dir="ltr"'?> > | |
| 48 | 48 | <?php |
| 49 | 49 | |
| 50 | 50 | if ( ! empty( $fields_values['header_content'] ) ) { |
| 51 | 51 | ?><p style="Margin:0;Margin-bottom:10px;font-family:Helvetica, Roboto, Arial, sans-serif;line-height:150%;font-size:14px;" ><?php |
| @@ -54,9 +54,9 @@ | ||
| 54 | 54 | |
| 55 | 55 | ?></p><?php |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - ?><p style="Margin:0;font-size:14px;Margin-bottom:10px;font-family:Helvetica, Roboto, Arial, sans-serif;line-height:150%;<?php echo $text_color; ?>" ><?php | |
| 58 | + ?><p style="Margin:0;font-size:14px;Margin-bottom:10px;font-family:Helvetica, Roboto, Arial, sans-serif;line-height:150%;<?php echo esc_attr( $text_color ); ?>" ><?php | |
| 59 | 59 | |
| 60 | 60 | $h2_headers = array('<p class="h2" style="Margin-bottom:10px;font-family:Helvetica, Roboto, Arial, sans-serif;display:block;font-size:18px;font-weight:bold;line-height:130%;Margin:16px 0 8px;text-align:left;color:#557da1;" >', '</p>'); |
| 61 | 61 | $fields_values['content'] = str_replace( array( '<h2>', '</h2>' ), $h2_headers, $fields_values['content'] ); |
| 62 | 62 | |