Support » Fixing WordPress » Missing <p> tag

  • I am having trouble with wordpress removing the first <p> tag leaving me with a </p> that doesnt have an opener.

    This comes about when i insert <div> tags.

    Here is the example code:

    <div class="gallery">
    <img src="3.jpg" alt="thumb" /><strong>Title</strong></p>
    <p>Description of the work</p>
    <p>Dimensions of the work</p></div>

    I have edited the tincy_mce_config.php file so that it doesnt replace <div> tags with <p> tags.

    Everything is working swimmingly apart from the fact that it removes the first <p> after the image.

    If anyone has seen this problem and knows a fix… i would appreciate it big time.

    Many thanks

  • The topic ‘Missing <p> tag’ is closed to new replies.