WordPress.org

Ready to get started?Download WordPress

Forums

Missing <p> tag (1 post)

  1. popmatik
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.