Hi,
Can you confirm that your HTML tags are formatted correctly? Try this tool:
http://jona.ca/blog/unclosed-tag-finder
Thanks!
Nice tool. It helped me find a widget HTML issue. However, I ran MailPoet on a post that had no unclosed tags and have the same issue.
I dug some more and notice that:
1) The MailPoet Preview doesn’t show nested lists. It’s exactly how it looks in my mail client.
2) The MailPoet HTML Source Editor *does* show nested lists. If I copy all that HTML and save it to ~/Desktop/newsletter.html, it displays beautifully in Safari.
3) What ends up in my inbox no longer has any “li” tags. It looks like it’s replacing all “ul/li” entries with ZeroMargins and AmpersandBull.
I can send you URLs, source, etc., if you’d like.
Hi @sdayman,
It’s happening because we convert lists into paragraphs in order to improve their rendering.
Would you mind adding these lines to your file functions.php and test it again?
add_action( 'init', 'mailpoet_hidden_options');
function mailpoet_hidden_options(){
if(class_exists('WYSIJA')){
$model_config = WYSIJA::get('config','model');
$model_config->save( array( 'disable_list_conversion' => true ));
}
}
Woah! That’s awesome! Is it safe to leave that in permanently? I’ve already noted the modification in my personal notes.
Hi,
Yep, it’ll be safe to keep in permanently. However, you will need to re-add it after any plugin updates.
Thanks!