• I have a page, in which I would like an ordered list, each list item to contain a heading and a paragraph.

    WordPress can’t handle it. It strips off the closing p tag, butts up the closing li tag, and turns the site validation to toast.

    An unordered list. It can’t even output an unordered list correctly.

    This has been going on for years…

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Interesting.

    I put this in:

    <ul>
    	<li><h2>Jo blow</h2> <p>Joe two</p></li>
    </ul>

    And it was fine. So then I did this:

    <ul>
    	<li>
    <h2>Jo blow</h2>
    <p>Joe two</p>
    	</li>
    </ul>

    Also fine. So I tried this:

    <ul>
    	<li>
    <h2>Jo blow</h2>
    
    Joe two
    
    	</li>
    </ul>

    And THERE it was fine.

    I have wpautop enabled. And everything works fine. What, exactly, are you putting in that’s breaking?

Viewing 1 replies (of 1 total)
  • The topic ‘wpautop is a joke. Please fix it.’ is closed to new replies.