Prevent Gravity forms / wordpress from auto adding <br /> tags to HTML email code

Im using gravity forms on my WordPress page, however i wanted the notification mail that it sends to look a little nicer. I downloaded (multiple) html email templates and edditted them to my likings.

I add them to the WYSIWYG editor through the code view. As soon as i switch to the visual view or update the notification it screws it up adding unwanted
everywhere, making a mess of the layout.

How do i prevent wordpress / gravity forms from doing that or how can i format my code in such a way that it doesnt do that in the first place?

Read more here: Prevent Gravity forms / wordpress from auto adding <br /> tags to HTML email code

Leave a Reply

Your email address will not be published. Required fields are marked *