• Hi Folks,

    I spend a lot of time cleaning up Authors’ “bad” html, mainly because it affects all previous posts down the page.

    One chunk of this issue seems to be that WordPress writes “bad” html, the other is that Authors are not tech savvy and don’t want to open the HTML popup and fiddle with stuff. I don’t blame them.

    Is there any PHP tweak or other workaround that might prevent stray “em” or “bold” tags from turning the entire home page into italics, or bold, etc, ie, way beyond the end of the errant post?

    Thanks for any insight on this one…

    Tbulb

Viewing 1 replies (of 1 total)
  • Thread Starter tbulb

    (@tbulb)

    PS – the “bad HTML” is not the Authors’ fault. It is the way WordPress converts the rich text in the editor window into HTML. a variety of mixtures of line-breaks, paragraph tags, divs, etc. then when you put in in a “splitter” into the post, it really wreaks havoc. (meaning it creates orphaned tags, redundant tag pairs, etc.

    the orphaned tags are the things that create the problem affecting posts “down the page” (older posts).

    be nice if there was a “mod” or hack that could make PHP write out a set of “ending” tags that would cancel out any stray emphasis, bold, italic, blockquote, or font tags that act on downstream posts.

    any suggestions welcome.

    tbulb.

Viewing 1 replies (of 1 total)
  • The topic ‘BAD html in posts affects all prev posts’ is closed to new replies.