Email template removes inline <style> tags

When I paste some html code inside the console email template generator and save the html it strips out my inline styles at the beginning of the doc. Is there a way to prevent this? (This html was originally generated by mail chimp email designer)

ie. anything in <style> </style> and the tags are all removed. The email still sends ok, but the formatting and style is obviously gone. I think I once found a work around, but can’t find it again.

Mike

Hi Mike,

Do you paste the code into the popup available through the View > Source Code menu?

Regards,
Mark

Hi Mark

Yes exactly that.

Could you please paste here a sample of the html you’re using?

Something like the following. This was originally created in mailchimp. But I have since used it successfully in a template with postmarkapp.com . It’s not a show stopper if we can’t just paste it in but it would be very handy!

     <!doctype html>
        <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
        	<head>
        		<!-- NAME: 1:2:1 COLUMN - FULL WIDTH -->
        		<!--[if gte mso 15]>
        		<xml>
        			<o:OfficeDocumentSettings>
        			<o:AllowPNG/>
        			<o:PixelsPerInch>96</o:PixelsPerInch>
        			</o:OfficeDocumentSettings>
        		</xml>
        		<![endif]-->
        		<meta charset="UTF-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge">
                <meta name="viewport" content="width=device-width, initial-scale=1">
        		<title>Welcome to Hastings Adventure Golf Caddie Club</title>
                
            <style type="text/css">
        		p{
        			margin:10px 0;
        			padding:0;
        		}
        		table{
        			border-collapse:collapse;
        		}
        		h1,h2,h3,h4,h5,h6{
        			display:block;
        			margin:0;
        			padding:0;
        		}

</style>

Thanks! I was able to reproduce the problem. Will open a ticket for the product team to investigate.

Regards,
Mark

Thankyou Mark , look forward to response.

Hey @mike-turner

Fixed. Please verify

Anton