• Resolved leoly

    (@leoly)


    I know this problem has been reported a few times before, and the suggestion was to select html format. I have Preferred Text Type set to html, Filter newlines set to yes and Replace newline characters with html line breaks set to no.

    However, the email line break formatting still doesn’t hold – so for example if I send by email:

    “Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel odio purus.

    Pellentesque molestie quis lectus dignissim ultrices. Vivamus ligula ante …”

    It Posts as (no space):
    “Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel odio purus.
    Pellentesque molestie quis lectus dignissim ultrices. Vivamus ligula ante …”

    When I edit the post, in visual format it looks correct with the space there, and in text format I see:

    <div>
    <div>”Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel odio purus.</div>
    <div></div>
    <div>Pellentesque molestie quis lectus dignissim ultrices. Vivamus ligula ante …”</div>
    </div>

    So the break is being added as a new <div> instead of a br>

    Thanks

    https://www.ads-software.com/plugins/postie/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    Please realize that your email client can be adding all sorts of markup to your emails.

    Feel free to send a example email to [email protected] and leave a note here and I will take a look.

    Thread Starter leoly

    (@leoly)

    Hello,

    Thanks for the prompt response, the test email has been sent.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Here is what the raw email has in it:

    <div dir="ltr">Lorem ipsum dolor sit amet, consectetur adipiscing elit,
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
    enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
    ut aliquip ex ea commodo consequat. <br><br>Duis aute irure dolor in
    reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
    pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
    culpa qui officia deserunt mollit anim id est laborum.<br></div>

    With my settings set the same as you I get exactly the same thing in my text post editor. Note that if I switch to visual and back to text again WordPress changes the markup.

    https://screencast.com/t/NqcMP5ncYz

    Thread Starter leoly

    (@leoly)

    For some reason, my text editor is showing an extra div around each paragraph, and instead of the <br><br> it's showing as <div><div>?

    <div dir=”ltr”>
    <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
    <div></div>
    <div>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
    </div>

    Plugin Author Wayne Allen

    (@wayneallen-1)

    This is not being added by Postie. I suspect some other plugin.

    Thread Starter leoly

    (@leoly)

    Thanks. Turned off my other plugins to test, and still got the same results.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Try clicking the debug button and send the output to [email protected]

    Make sure there is an email waiting.

    Thread Starter leoly

    (@leoly)

    Thank you. After more research, it seems the formatting changes might be from the email provider. It might be changing the email it receives from Google, which is then reflected in Postie’s output. Really appreciate your excellent support; I left a review as well.

    btw, not sure if you were aware of this already, but Postie and the NextScripts: Social Networks Auto-Poster plugin don’t work well with each other. Nextscripts doesn’t auto-post, posts made by Postie. The Nextscripts developer noted that this is due to how postie publishes posts.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Postie still breaking email formatting’ is closed to new replies.