<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									HTML Emails not displaying correctly - Bug Reports				            </title>
            <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/</link>
            <description>wpDiscuz WordPress Comment Plugin Community. Support and Resources.</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 16 Sep 2026 07:07:10 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29574</link>
                        <pubDate>Sat, 01 Nov 2025 07:43:45 +0000</pubDate>
                        <description><![CDATA[@webmeda-org 
Please record a video, so we can see the problem.]]></description>
                        <content:encoded><![CDATA[<p>@webmeda-org </p>
<p>Please record a video, so we can see the problem. </p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29574</guid>
                    </item>
				                    <item>
                        <title>RE: HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29573</link>
                        <pubDate>Fri, 31 Oct 2025 16:01:08 +0000</pubDate>
                        <description><![CDATA[I was trying to show you the code before and after saving and I think that&#039;s breaking my comment, I tried to attach them as files but that&#039;s also not allowed]]></description>
                        <content:encoded><![CDATA[<p>I was trying to show you the code before and after saving and I think that's breaking my comment, I tried to attach them as files but that's also not allowed</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>web@meda.org</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29573</guid>
                    </item>
				                    <item>
                        <title>RE: HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29571</link>
                        <pubDate>Fri, 31 Oct 2025 09:33:48 +0000</pubDate>
                        <description><![CDATA[@webmeda-org 
Your post appears to be empty. Could you please confirm whether the issue has been resolved?]]></description>
                        <content:encoded><![CDATA[<p>@webmeda-org </p>
<p>Your post appears to be empty. Could you please confirm whether the issue has been resolved?</p>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29571</guid>
                    </item>
				                    <item>
                        <title>RE: HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29570</link>
                        <pubDate>Thu, 30 Oct 2025 18:16:45 +0000</pubDate>
                        <description><![CDATA[Thanks your your suggestion! It didn&#039;t work, unfortunately.This is the HTML, I&#039;m placing it in the code field in the status templates /wp-admin/admin.php?page=wpdiscuz_options_page&amp;am...]]></description>
                        <content:encoded><![CDATA[<p>Thanks your your suggestion! It didn't work, unfortunately.<br /><br />This is the HTML, I'm placing it in the code field in the status templates /wp-admin/admin.php?page=wpdiscuz_options_page&amp;wpd_tab=subscription#wpd-comment-status-templates</p>
<pre contenteditable="false">&lt;!DOCTYPE html&gt;
&lt;html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en"&gt;

&lt;head&gt;
	&lt;title&gt;Your Comment on "" (MEDA Website)&lt;/title&gt;
	&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
	&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;xml&gt;&lt;w:WordDocument xmlns:w="urn:schemas-microsoft-com:office:word"&gt;&lt;w:DontUseAdvancedTypographyReadingMail/&gt;&lt;/w:WordDocument&gt;
&lt;o:OfficeDocumentSettings&gt;&lt;o:PixelsPerInch&gt;96&lt;/o:PixelsPerInch&gt;&lt;o:AllowPNG/&gt;&lt;/o:OfficeDocumentSettings&gt;&lt;/xml&gt;

	&lt;link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&amp;amp;display=swap" rel="stylesheet" type="text/css"&gt;
	&lt;style&gt;
		* {
			box-sizing: border-box;
		}

		body {
			margin: 0;
			padding: 0;
		}

		a {
			color: inherit !important;
			text-decoration: inherit !important;
		}

		#MessageViewBody a {
			color: inherit;
			text-decoration: none;
		}

		p {
			line-height: inherit
		}

		.desktop_hide,
		.desktop_hide table {
			mso-hide: all;
			display: none;
			max-height: 0px;
			overflow: hidden;
		}

		.image_block img+div {
			display: none;
		}

		sup,
		sub {
			font-size: 75%;
			line-height: 0;
		}

		@media (max-width:620px) {
			.mobile_hide {
				display: none;
			}

			.row-content {
				width: 100% !important;
			}

			.stack .column {
				width: 100%;
				display: block;
			}

			.mobile_hide {
				min-height: 0;
				max-height: 0;
				max-width: 0;
				overflow: hidden;
				font-size: 0px;
			}

			.desktop_hide,
			.desktop_hide table {
				display: table !important;
				max-height: none !important;
			}

			.row-2 .column-1 .block-1.image_block td.pad {
				padding: 0 10px !important;
			}

			.row-2 .column-1 .block-1.image_block .alignment div {
				margin: 0 auto 0 0 !important;
			}

			.row-2 .column-2 .block-1.paragraph_block td.pad {
				padding: 0 10px 10px !important;
			}

			.row-2 .column-1 {
				padding: 5px 0 0 !important;
			}

			.row-2 .column-2 {
				padding: 0 0 5px !important;
			}
		}
	&lt;/style&gt;&lt;style&gt;sup, sub { font-size: 100% !important; } sup { mso-text-raise:10% } sub { mso-text-raise:-10% }&lt;/style&gt;
&lt;/head&gt;

&lt;body class="body" style="background-color: #ffffff; margin: 0; padding: 0; -webkit-text-size-adjust: none; text-size-adjust: none;"&gt;&lt;div class="preheader" style="display:none;font-size:1px;color:#333333;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;"&gt;Hello , thank you for your engagement with us! Your comment on our post "" has been approved.&lt;/div&gt;
	&lt;table class="nl-container" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ffffff;"&gt;
		&lt;tbody&gt;
			&lt;tr&gt;
				&lt;td&gt;
					&lt;table class="row row-1" align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;"&gt;
						&lt;tbody&gt;
							&lt;tr&gt;
								&lt;td&gt;
									&lt;table class="row-content stack" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 600px;" width="600"&gt;
										&lt;tbody&gt;
											&lt;tr&gt;
												&lt;td class="column column-1" width="100%" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; padding-bottom: 5px; padding-top: 5px; vertical-align: top;"&gt;
													&lt;table class="heading_block block-1" width="100%" border="0" cellpadding="10" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;h1 style="margin: 0; color: #007a33; direction: ltr; font-family: 'Figtree','Arial'; font-size: 28px; font-weight: 700; letter-spacing: normal; line-height: 1.2; text-align: left; margin-top: 0; margin-bottom: 0; mso-line-height-alt: 34px;"&gt;&lt;span class="tinyMce-placeholder" style="word-break: break-word;"&gt;Your Comment on "" (MEDA Website)&lt;/span&gt;&lt;/h1&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
													&lt;table class="paragraph_block block-2" width="100%" border="0" cellpadding="10" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;div style="color:#222325;direction:ltr;font-family:'Figtree','Arial';font-size:14px;font-weight:400;letter-spacing:0px;line-height:1.5;text-align:left;mso-line-height-alt:21px;"&gt;
																	&lt;p style="margin: 0; margin-bottom: 16px;"&gt;Hello ,&lt;/p&gt;
																	&lt;p style="margin: 0; margin-bottom: 16px;"&gt;Thank you for your engagement with us! Your comment on our post "" has been approved.&lt;/p&gt;
																	&lt;p style="margin: 0;"&gt;Comment: &lt;br&gt;&lt;br&gt;&lt;br&gt;You can see all comments on this post here: &lt;br&gt;#comments&lt;/p&gt;
																&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
													&lt;table class="paragraph_block block-3" width="100%" border="0" cellpadding="10" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;div style="color:#222325;direction:ltr;font-family:'Figtree','Arial';font-size:14px;font-weight:400;letter-spacing:0px;line-height:1.5;text-align:left;mso-line-height-alt:21px;"&gt;
																	&lt;p style="margin: 0;"&gt;Thank you,&lt;br&gt;MEDA Website Administrator&lt;/p&gt;
																&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
												&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
								&lt;/td&gt;
							&lt;/tr&gt;
						&lt;/tbody&gt;
					&lt;/table&gt;
					&lt;table class="row row-2" align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;"&gt;
						&lt;tbody&gt;
							&lt;tr&gt;
								&lt;td&gt;
									&lt;table class="row-content stack" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-radius: 0; color: #000000; width: 600px;" width="600"&gt;
										&lt;tbody&gt;
											&lt;tr&gt;
												&lt;td class="column column-1" width="25%" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; border-right: 1px solid #e7e9eb; padding-bottom: 5px; padding-top: 5px; vertical-align: top;"&gt;
													&lt;table class="image_block block-1" width="100%" border="0" cellpadding="10" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;div class="alignment" align="left"&gt;
																	&lt;div style="max-width: 119px;"&gt;&lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/j0y/3rx/v7u/MEDA%20Logo%20with%20Tagline_Bottom.png" style="display: block; height: auto; border: 0; width: 100%;" width="119" alt="MEDA: Creating Business Solutions to Poverty" title="Mennonite Economic Development Associates" height="auto"&gt;&lt;/div&gt;
																&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
													&lt;table class="divider_block desktop_hide block-2" width="100%" border="0" cellpadding="10" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; mso-hide: all; display: none; max-height: 0; overflow: hidden;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;div class="alignment" align="center"&gt;
																	&lt;table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; mso-hide: all; display: none; max-height: 0; overflow: hidden;"&gt;
																		&lt;tr&gt;
																			&lt;td class="divider_inner" style="font-size: 1px; line-height: 1px; border-top: 1px solid #e7e9eb;"&gt;&lt;span style="word-break: break-word;"&gt;&#8202;&lt;/span&gt;&lt;/td&gt;
																		&lt;/tr&gt;
																	&lt;/table&gt;
																&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
												&lt;/td&gt;
												&lt;td class="column column-2" width="75%" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; padding-bottom: 5px; padding-top: 5px; vertical-align: top;"&gt;
													&lt;table class="paragraph_block block-1" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;"&gt;
														&lt;tr&gt;
															&lt;td class="pad" style="padding-left:10px;"&gt;
																&lt;div style="color:#101112;direction:ltr;font-family:'Figtree','Arial';font-size:14px;font-weight:400;letter-spacing:0px;line-height:1.2;text-align:left;mso-line-height-alt:17px;"&gt;
																	&lt;p style="margin: 0;"&gt;&lt;span style="word-break: break-word; color: #007a33;"&gt;&lt;strong&gt;Mennonite Economic Development Associates&lt;/strong&gt;&lt;/span&gt;&lt;br&gt;595 Parkside Drive, Suite 2, Waterloo, ON, Canada, N2L 0C7&lt;br&gt;PO Box 1771 Lancaster, PA, USA, 17608&lt;/p&gt;
																&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
													&lt;table class="html_block block-2" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;"&gt;
														&lt;tr&gt;
															&lt;td class="pad"&gt;
																&lt;div style="font-family:'Figtree','Arial';text-align:center;" align="center"&gt;&lt;div style="line-height: 0px;text-align:left;margin:10px 5px;"&gt;

  &lt;a href="https://linkedin.com/company/mennonite-economic-development-associates-meda-/" target="_blank" style="display: inline-block; width: 25px; height: 25px;margin: 0 5px;"&gt;
    &lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/03w/jlf/dam/MEDA%20LinkedIn.png" width="25" height="25" /&gt;&lt;/a&gt;
  &lt;a href="https://facebook.com/MEDAdotorg" target="_blank" style="display: inline-block; width: 25px; height: 25px; margin-right: 0 5px;"&gt;
    &lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/awr/d0l/j9f/MEDA%20Facebook.png" width="25" height="25" /&gt;&lt;/a&gt;
  &lt;a href="https://twitter.com/medadotorg" target="_blank" style="display: inline-block; width: 25px; height: 25px; margin: 0 5px;"&gt;
    &lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/z8x/wq7/tsy/MEDA%20TwitterX.png" width="25" height="25" /&gt;&lt;/a&gt;
  &lt;a href="https://instagram.com/medadotorg" target="_blank" style="display: inline-block; width: 25px; height: 25px;margin: 0 5px;"&gt;
    &lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/yyr/vwi/0jp/MEDA%20Instagram.png" width="25" height="25" /&gt;&lt;/a&gt;

&lt;/div&gt;&lt;/div&gt;
															&lt;/td&gt;
														&lt;/tr&gt;
													&lt;/table&gt;
												&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
								&lt;/td&gt;
							&lt;/tr&gt;
						&lt;/tbody&gt;
					&lt;/table&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
	&lt;/table&gt;
&lt;/body&gt;

&lt;/html&gt;</pre>
<p>&nbsp;</p>
<p>It turns into this when I save, the head breaks and some CSS shows on the frontend</p>
<pre contenteditable="false">&amp;nbsp;

96

* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
}

a {
color: inherit !important;
text-decoration: inherit !important;
}

#MessageViewBody a {
color: inherit;
text-decoration: none;
}

p {
line-height: inherit
}

.desktop_hide,
.desktop_hide table {
mso-hide: all;
display: none;
max-height: 0px;
overflow: hidden;
}

.image_block img+div {
display: none;
}

sup,
sub {
font-size: 75%;
line-height: 0;
}

@media (max-width:620px) {
.mobile_hide {
display: none;
}

.row-content {
width: 100% !important;
}

.stack .column {
width: 100%;
display: block;
}

.mobile_hide {
min-height: 0;
max-height: 0;
max-width: 0;
overflow: hidden;
font-size: 0px;
}

.desktop_hide,
.desktop_hide table {
display: table !important;
max-height: none !important;
}

.row-2 .column-1 .block-1.image_block td.pad {
padding: 0 10px !important;
}

.row-2 .column-1 .block-1.image_block .alignment div {
margin: 0 auto 0 0 !important;
}

.row-2 .column-2 .block-1.paragraph_block td.pad {
padding: 0 10px 10px !important;
}

.row-2 .column-1 {
padding: 5px 0 0 !important;
}

.row-2 .column-2 {
padding: 0 0 5px !important;
}
}
sup, sub { font-size: 100% !important; } sup { mso-text-raise:10% } sub { mso-text-raise:-10% }
&lt;div class="preheader" style="display: none; font-size: 1px; color: #333333; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden;"&gt;Hello , thank you for your engagement with us! Your comment on our post "" has been approved.&lt;/div&gt;
&lt;table class="nl-container" style="background-color: #ffffff;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table class="row row-1" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table class="row-content stack" style="color: #000000; width: 600px;" role="presentation" border="0" width="600" cellspacing="0" cellpadding="0" align="left"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="column column-1" style="font-weight: 400; text-align: left; padding-bottom: 5px; padding-top: 5px; vertical-align: top;" width="100%"&gt;
&lt;table class="heading_block block-1" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="10"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;h1 style="margin: 0; color: #007a33; direction: ltr; font-family: 'Figtree','Arial'; font-size: 28px; font-weight: bold; letter-spacing: normal; line-height: 1.2; text-align: left; margin-top: 0; margin-bottom: 0;"&gt;&lt;span class="tinyMce-placeholder"&gt;Your Comment on "" (MEDA Website)&lt;/span&gt;&lt;/h1&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="paragraph_block block-2" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="10"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;div style="color: #222325; direction: ltr; font-family: 'Figtree','Arial'; font-size: 14px; font-weight: 400; letter-spacing: 0px; line-height: 1.5; text-align: left;"&gt;
&lt;p style="margin: 0; margin-bottom: 16px;"&gt;Hello ,&lt;/p&gt;
&lt;p style="margin: 0; margin-bottom: 16px;"&gt;Thank you for your engagement with us! Your comment on our post "" has been approved.&lt;/p&gt;
&lt;p style="margin: 0;"&gt;Comment:


You can see all comments on this post here:
#comments&lt;/p&gt;

&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="paragraph_block block-3" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="10"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;div style="color: #222325; direction: ltr; font-family: 'Figtree','Arial'; font-size: 14px; font-weight: 400; letter-spacing: 0px; line-height: 1.5; text-align: left;"&gt;
&lt;p style="margin: 0;"&gt;Thank you,
MEDA Website Administrator&lt;/p&gt;

&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="row row-2" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;table class="row-content stack" style="border-radius: 0; color: #000000; width: 600px;" role="presentation" border="0" width="600" cellspacing="0" cellpadding="0" align="left"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="column column-1" style="font-weight: 400; text-align: left; border-right: 1px solid #e7e9eb; padding-bottom: 5px; padding-top: 5px; vertical-align: top;" width="25%"&gt;
&lt;table class="image_block block-1" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="10"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;div class="alignment" align="left"&gt;
&lt;div style="max-width: 119px;"&gt;&lt;img style="display: block; height: auto; border: 0; width: 100%;" title="Mennonite Economic Development Associates" src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/j0y/3rx/v7u/MEDA%20Logo%20with%20Tagline_Bottom.png" alt="MEDA: Creating Business Solutions to Poverty" width="119" height="auto" /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="divider_block desktop_hide block-2" style="display: none; max-height: 0; overflow: hidden;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="10"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;div class="alignment" align="center"&gt;
&lt;table style="display: none; max-height: 0; overflow: hidden;" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="divider_inner" style="font-size: 1px; line-height: 1px; border-top: 1px solid #e7e9eb;"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;td class="column column-2" style="font-weight: 400; text-align: left; padding-bottom: 5px; padding-top: 5px; vertical-align: top;" width="75%"&gt;
&lt;table class="paragraph_block block-1" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad" style="padding-left: 10px;"&gt;
&lt;div style="color: #101112; direction: ltr; font-family: 'Figtree','Arial'; font-size: 14px; font-weight: 400; letter-spacing: 0px; line-height: 1.2; text-align: left;"&gt;
&lt;p style="margin: 0;"&gt;&lt;span style="color: #007a33;"&gt;&lt;strong&gt;Mennonite Economic Development Associates&lt;/strong&gt;&lt;/span&gt;
595 Parkside Drive, Suite 2, Waterloo, ON, Canada, N2L 0C7
PO Box 1771 Lancaster, PA, USA, 17608&lt;/p&gt;

&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="html_block block-2" role="presentation" border="0" width="100%" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="pad"&gt;
&lt;div style="font-family: 'Figtree','Arial'; text-align: center;" align="center"&gt;
&lt;div style="line-height: 0px; text-align: left; margin: 10px 5px;"&gt;

&lt;a style="display: inline-block; width: 25px; height: 25px; margin: 0 5px;" href="https://linkedin.com/company/mennonite-economic-development-associates-meda-/" target="_blank" rel="noopener"&gt;
&lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/03w/jlf/dam/MEDA%20LinkedIn.png" width="25" height="25" /&gt;&lt;/a&gt;
&lt;a style="display: inline-block; width: 25px; height: 25px; margin-right: 0 5px;" href="https://facebook.com/MEDAdotorg" target="_blank" rel="noopener"&gt;
&lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/awr/d0l/j9f/MEDA%20Facebook.png" width="25" height="25" /&gt;&lt;/a&gt;
&lt;a style="display: inline-block; width: 25px; height: 25px; margin: 0 5px;" href="https://twitter.com/medadotorg" target="_blank" rel="noopener"&gt;
&lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/z8x/wq7/tsy/MEDA%20TwitterX.png" width="25" height="25" /&gt;&lt;/a&gt;
&lt;a style="display: inline-block; width: 25px; height: 25px; margin: 0 5px;" href="https://instagram.com/medadotorg" target="_blank" rel="noopener"&gt;
&lt;img src="https://d15k2d11r6t6rl.cloudfront.net/pub/bfra/v2cxfejl/yyr/vwi/0jp/MEDA%20Instagram.png" width="25" height="25" /&gt;&lt;/a&gt;

&lt;/div&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>web@meda.org</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29570</guid>
                    </item>
				                    <item>
                        <title>RE: HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29568</link>
                        <pubDate>Thu, 30 Oct 2025 10:47:08 +0000</pubDate>
                        <description><![CDATA[Hi, @webmeda-org,
Please try this code: 
add_filter(&#039;wpdiscuz_confirm_email_content_pre_replace&#039;, &#039;wpd_remove_wpautop_from_emails&#039;, 1);

function wpd_remove_wpautop_from_emails($message)...]]></description>
                        <content:encoded><![CDATA[<p>Hi, @webmeda-org,</p>
<p>Please try this code: </p>
<pre contenteditable="false">add_filter('wpdiscuz_confirm_email_content_pre_replace', 'wpd_remove_wpautop_from_emails', 1);

function wpd_remove_wpautop_from_emails($message) {
    if ($message) {
        $message = str_replace(, '', $message);
        $message = str_replace(, '', $message);
    }
    return $message;
}</pre>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>Asti</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29568</guid>
                    </item>
				                    <item>
                        <title>HTML Emails not displaying correctly</title>
                        <link>https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29565</link>
                        <pubDate>Wed, 29 Oct 2025 18:07:23 +0000</pubDate>
                        <description><![CDATA[Wordpress is adding line breaks to my HTML code for my emails. I tried to follow online tutorials to remove the filter through functions php:
Can anyone help? Or explain why it&#039;s not workin...]]></description>
                        <content:encoded><![CDATA[<p>Wordpress is adding line breaks to my HTML code for my emails. I tried to follow online tutorials to remove the filter through functions php:</p>
<p>Can anyone help? Or explain why it's not working?</p>
<p>&nbsp;</p>
<pre contenteditable="false">add_action('wpdiscuz_email_before_send_email', 'wpd_remove_wpautop_from_emails', 1);

function wpd_remove_wpautop_from_emails($args) {
    if ( isset($args) ) {
        $args = str_replace(array('&lt;p&gt;', '&lt;/p&gt;'), '', $args);
        $args = str_replace(array('&lt;br&gt;', '&lt;br /&gt;'), '', $args);
    }
    return $args;
}</pre>
<div> </div>]]></content:encoded>
						                            <category domain="https://wpdiscuz.com/community/bug-reports/">Bug Reports</category>                        <dc:creator>web@meda.org</dc:creator>
                        <guid isPermaLink="true">https://wpdiscuz.com/community/bug-reports/html-emails-not-displaying-correctly/#post-29565</guid>
                    </item>
							        </channel>
        </rss>
		