Frustrating. I've been through quite a number of plugins now and tried everything I could find to turn off WP's auto formatting of my PHP code. Nothing so far has worked.
Has anyone been done this path before? Seems like it should be simple to insert chunks of PHP in pages or posts at the admin level and keep it clean and validating. I now have code executing OK, but instead of turning my \n into simple new lines, WP insists on inserting <\p> or <br /> as replacements, but only on certain lines--using some algorithm I have yet to figure out.
Please... if anyone has figured out how to make WP simply output whatever code is written exactly as it is written, let me know. Thank you much.