Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve had lots of problems with indented bulleted lists and, this morning at 3:45 am while lying in bed, the answer came to me…it’s a setting!

    In Settings -> Writing, but sure to UNCHECK “WordPress should correct invalidly nested XHTML automatically.” If this is checked, WordPress will re-write the article or page and automatically close any open <ul> if it comes across a second indented <ul>.

    I have this problem as well with 3.3.1. The code in the editor re-writes every time.

    I have changed to the Twenty Eleven theme and deactivated all plugins. I also removed all plugin directories except for akismet which comes with.

    The editor still re-writes the list as follows:

    original:

    <ul>
      <li>item 1</li>
      <li>item 2</li>
      <ul>
        <li>item 2a></li>
        <li>item 2b></li>
      </ul>
      <li>item 3</li>
    </ul>

    re-written as:

    <ul>
      <li>item 1</li>
      <li>item 2</li>
    </ul>  <ul>
        <li>item 2a></li>
        <li>item 2b></li>
      </ul>
      <li>item 3</li>

    Note how the last list item has no opening or closing <ul>

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