Forums

Where does WP add <p> to the_excerpt()? (3 posts)

  1. buskerdog
    Member
    Posted 2 years ago #

    The only thing that's keep this page from passing W3C inspection is this:
    you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    The problem is WP is adding the <P> around my excerpts and I can't find where it's doing this. I don't need paragraph wrap there and would love to remove it. I've searched the WP files for where this could be happening but can't find it. Thoughts?

  2. buskerdog
    Member
    Posted 2 years ago #

    Anyone?

  3. buskerdog
    Member
    Posted 2 years ago #

    I'm moving this over to hacks. Still, if anyone knows the answer I'd love to hear it.

    [moderated - moved to Plugins and Hacks forum.]

Topic Closed

This topic has been closed to new replies.

About this Topic