ActiveCampaign / postmark-wordpress

The Official Postmark Wordpress Plugin
GNU General Public License v2.0
18 stars 17 forks source link

v1.20.0 Newlines -> Line Breaks #110

Open pgraham3 opened 7 months ago

pgraham3 commented 7 months ago

This change (v1.20.0) around converting newlines to HTML line breaks needs to only apply to HTML forced emails, not all HTML emails.

v1.19.1

<!DOCTYPE html>
<html dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>MultiAction</title>
    <!-- If you delete the viewport meta tag, the ground will open and swallow you. -->
    <meta name="viewport" content="width=device-width" />

v1.20

<!DOCTYPE html><br><html dir="ltr"><br><head><br>   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><br>   <title>MultiAction</title><br>  <!-- If you delete the viewport meta tag, the ground will open and swallow you. --><br> <meta name="viewport" content="width=device-width" /><br><br>

Reverting to v1.19.1 as stable for now until this can be fixed in v1.20.1