Do you mean that you want WordPress to keep your HTML and XHTML from either not working or turning into <p> codes?
First, you can try turning off WordPress should correct invalidly nested XHTML automatically
in Admin > Options > Writing. Just make sure you correctly nest everything. If not, running a valdation on your site will catch it. It happens to everyone. Nested lists are a frequent validation breaker. But I assume you know how to check your stuff.
Second, download and install TextControl plugin as it allows for globally or on a per-post basis allow you to control how WP formats your posts.
I sometimes write quick little posts and I don’t want to put them in tags because there is no reason. I want WordPress to take care of it for me, so I set the TextControl options on THAT post to use wpautop and texturize. But for the serious stuff that has containers and formatting issues, I turn off all formating and character formating. Then the HTML displays the page with no problems.
Until I run a validation on the page and found out that I slipped and wrote <il>
instead of <li>
, which happens to all of us ?? .