Opening <p> tag being removed. (2 posts)

  1. popmatik
    Posted 8 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

  2. moshu
    Posted 8 years ago #

    If you type in your own code - turn off the wysiwyg thing.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.