Bug: Editor adds a space in Conditional Code for Outlook
-
It seems there is a bug in the Newsletter editor when it parses Conditional Code for Outlook. Specifically, if your html email template has conditional code for outlook like this:
<!–[if (gte mso 9)|(IE)]>
Then the newsletter editor will improperly add a space beteen the ‘<!–‘ and the ‘[if’, resulting in the following after your email template is loaded into the editor:
<!– [if (gte mso 9)|(IE)]>
This is a huge problem for emails that are sent to Desktop Outlook clients (e.g. Outlook 2010, 2013, 2016) because that extra space causes the conditional html code to be ignored entirely by Outlook.
To duplicate the problem: add conditinal code for outlook to an html newsletter theme (i.e. using proper syntax above, without the space). Load the newsletter, then hit “Save and Switch to Source Editor”. You will see that the extra space appears in the html code. Now delete that extra space and hit Save. Then hit “Save and Switch to Visual Editor”, and then return once again to the “Source Editor”. You will see that the space you deleted is added once again by the newsletter editor.
I hope the author is able to fix this bug soon.
- The topic ‘Bug: Editor adds a space in Conditional Code for Outlook’ is closed to new replies.