Divs instead of paragraph tags – bug in 3.3.1?
-
I have been working on styling my first theme and I found some strange behavior in my testing. I created a bunch of different elements in a post and I noticed when I tried to create a paragraph between an ordered list and an unordered list, it creates divs instead of paragraphs.
First I added this :
<ol> <li>first</li> <li>second</li> <li>third</li> <li>fourth</li> <li>fifth</li> </ol> <ul> <li>first</li> <li>second</li> <li>third</li> <li>fourth</li> <li>fifth</li> </ul>
And then I added the paragraphs in between (in visual editor). I noticed they didn’t have the spacing I had styled for paragraphs. Here is what I found:
<ol> <li>first</li> <li>second</li> <li>third</li> <li>fourth</li> <li>fifth</li> </ol> <div>This is a paragraph that follows</div> <div>This is a paragraph that follows</div> <div></div> <ul> <li>first</li> <li>second</li> <li>third</li> <li>fourth</li> <li>fifth</li> </ul>
I have repeated this on 3 WordPress installs so far.
Anyone seen this before?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Divs instead of paragraph tags – bug in 3.3.1?’ is closed to new replies.