For two weeks, I've looked at WP forums, Google, source code, and a dozen different plugins to solve this issue, and I can't find a satisfactory answer anywhere.
When I edit a page, I want my HTML to be saved to the database. When I look at the wp_posts table, I wanna see lots of p's and br's in there. And when the page displays, I want my HTML to be displayed. All those p's and br's that were in the database are still there. I don't want the silly WordPress tag-stripping shenanigans to even think about touching my HTML.
And for whoever out there who is about to tell me to turn off Rich Text editing, here's a clue. There are three kinds of people in the world:
- Those who know HTML inside and out and don't have time to code HTML by hand.
- Those who don't know HTML at all and don't have time to code HTML by hand.
- Those that are dumb enough to think that coding HTML by hand is actually productive.
The Rich Text toggle is for the last group on that list; it doesn't do anybody else any good. When I put a p tag or a br tag in my HTML using a WYSIWYG editor, by God I want it to stay there.
So please, just tell me where in the code to turn off all this tag-stripping, tag-replacing, HTML-mangling filtering/sanitizing/nannying that WordPress insists on. If I have to get a doctorate in computer science to do it, then so be it; that's how miserable it is to use the WordPress editor.