Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @miamizorz

    Looks like there are some formatting issues in the message you sent. When you add the HTML code, select it and then click the “CODE” in the list above the message text area.

    And if you can, send over URL to the site where the issue happens, seeing it will give me an idea of what’s going on and how to fix.

    Thread Starter miamizorz

    (@miamizorz)

    Oof, sorry about that! First time posting here, obviously. Right now my code is just running locally, but I’ll actually post the problem code this time for you—

    <pre class="wp-block-verse">
    text of the post
    </pre>
    "..."
    <a href="article-link" class="read-more">Read More</a>

    As you can see, the ellipsis falls outside of the pre tags, so it breaks formatting. This is also an issue with the preformatted block. Right now I’m just using a lightly modified version of twenty-twenty-one.

    Thanks!

    • This reply was modified 5 years, 3 months ago by miamizorz.
    Plugin Author WPKube

    (@wpkube)

    The … and the link are added after the generated excerpt. Since the whole pre element is the excerpt then the … and link are added after it, not inside of it.

    There’s not much that can be done in this case, I’m sorry.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin breaks on preformatted tags’ is closed to new replies.