• Resolved dburk

    (@dburk)


    Hi again:

    Thank you again for the previous help. I’m trying to parse the contents of the email (‘text’) after the contents are in $post (‘post_content’) and remove whatever it is in certain places that ultimately get translated either by Postie or by WordPress into “<p>” and “</p>”. I’m guessing it’s some combination of “\n” and/or “\r” but I haven’t been able to figure it out. And I can’t even figure out how to figure it out because by the time I see it in the posted message, it’s already formatted as “<p></p>”.

    Could you tell me what the codes are either in the $email(‘text’) or in the $post(‘post_content’) that ultimately turn into <p>s?

    Thank you so much for your help.

    Second unrelated question: What is the best source to find out all the details of how Postie works with your Category plugin? Is there a README somewhere I can review?

    Danny

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dburk

    (@dburk)

    UPDATE: This is NOT a Postie issue at all! I was able to check the character sequence and it looks like there are “<br />” followed by a linefeed (ordinal=10). It seems that it’s WordPress that is taking the liberty to make those changes. Not sure where to address that but it doesn’t seem to be with this plugin.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Glad you figured it out.

    All plugin info is here: https://postieplugin.com/add-ons/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Emails with s that turn into’ is closed to new replies.