• I am using IImage Gallery 1.9 to post photo galleries into WordPress 2.1. It works just fine except that the post editor inserts <p> tags before each anchor when it creates the thumbnails. It seems the editor is set up to do that when there is a break in the text, however this messes up the presentation of thumbnails and since the <p> tags are inserted unclosed it invalidates the code.
    I am sure WordPress is causing this and not IImage Gallery, since it’s only happened since I upgraded. This happens in the visual and the code editor modes.
    How can I stop the editor from inserting <p>?
    See an example here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter pratian

    (@pratian)

    In fact this problem is independent of IImage Gallery. The post editor will insert the <p> tag against my will any time I place two images in succession.

    it will even delete div tags and put in unterminated paragraph tags.. frankly, the new editor sucks.

    Turn it off in your user profile page.

    Thread Starter pratian

    (@pratian)

    Turning off the visual editor doesn’t make a difference, even after I resave the post.

    Thread Starter pratian

    (@pratian)

    I’ve pre-empted this problem by changing my <div> tags to <p> tags and adusting my style sheet accordingly. However, I maintain that should be able to code my posts my own way.

    Yup, you and a lot of other people in the last 2.5 years.

    WPChina

    (@wordpresschina)

    Agreed, agreed, agreed! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post editor inserts paragraph tag’ is closed to new replies.