I apologize if this is not the correct place to post. I have done much testing and think this must be an issue with my view.
I have created a view with fields. When viewing on the site, the view displays perfectly. But when embedded in an email with Simplenews and Mimemail and sent, additional <p></p> tags are added between each field in the view.
I have tried embedding in my content using Insert Views, views_embed_view and views_get_view and I get the same result in outlook with additional paragraph tags between fields, causing lots of white space.
But viewing content online and even receiving email in browsers (yahoo, gmail, etc.) it all looks perfect.
I welcome any suggestions.
Thanks!
Comments
Comment #1
merlinofchaos commentedMy guess is that whatever you're embedding your view into is also running the linebreak filter, which would then add extra p tags based upon whitespace that exists in the templates. If those tags aren't in the general view output, then I would look at what you're embedding IN and see if anything is post-processing it. This is especially likely with insert views.
Comment #2
friendswoodtech commentedThat's what I thought initially as well, but I am using text format PHP Filter and the only selection in PHP Evaluator. I get the same output with insert views as well as not using insert views.
I'll continue to troubleshoot. Thanks for the advice.
Comment #2.0
friendswoodtech commentedAdding code tag
Comment #3
mustanggb commented