Support » Plugin: MailPoet - emails and newsletters in WordPress » Post Notification Inline Image Layout

  • Resolved alexwbaumann

    (@alexwbaumann)


    With the Post Notification email, if I have an image in an <ol><li><img> the resulting template will remove the image from the ordered list and start a new ordered list. This results in incorrect numbering.

    So if my post has something along the following:

    Paragraph Text
    <ol>
      <li><img class="alignright">First Bullet</li> <!-- 1. -->
      <li>Second Bullet</li> <!-- 2. -->
    </ol>

    A simplified version of the HTML generated looks something like:

    Paragraph Text
    <ol>
      <li><img></li> <!-- 1. -->
    </ol>
    <ol>
      <li>First Bullet</li> <!-- 1. -->
      <li>Second Bullet</li> <!-- 2. -->
    </ol>

    So instead of having the two number ones, I would expect that it would be closer to what appears in WordPress. For the time being, the list items will appear correctly as long as we do not have images in them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Wysija

    (@wysija)

    Hi there @alexwbaumann,

    Could you post a screenshot of the issue, please? Does this happen in all email clients?

    Thanks!

    Thread Starter alexwbaumann

    (@alexwbaumann)

    This happens in all email clients. I do not seem to have an option to upload a file, so I have uploaded one to https://ibb.co/DPX1Rsm

    Hi there @alexwbaumann,

    Can you clarify if you are actually entering HTML in the newsletter itself? If so, try building the newsletter just with the designer and then it should work correctly.

    This is because MailPoet removes and modifies HTML to ensure compatibility across all browsers.

    Thanks!

    Thread Starter alexwbaumann

    (@alexwbaumann)

    I’m using the Post Notifications emails with the “Automatic Latest Content” section provided with the plugin. So this is what is being pulled from the post that was created and included in the email.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Notification Inline Image Layout’ is closed to new replies.