WordPress.org

Ready to get started?Download WordPress

Forums

<ins> blocks get surrounded by <p> in posts (1 post)

  1. istevens
    Member
    Posted 7 years ago #

    I just manually surrounded an update to a post with ins and published the post, only to find that the post was incorrectly reformated.

    For example, if I add this to a post:

    <ins><p>Inserted text.</p></ins>

    WordPress reformats this on render with:

    <p><ins>
    <p>Inserted text.</p>
    <p></ins>
    </p>

    Which is both incorrect and unexpected. Is there any way around this?

    Currently I am doing the following, which is not the same at all:

    <p><ins>Inserted text.</ins></p>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags