I am tired of WordPress’s horrible HTML editor and have decided to write all my html in Notepad++ and then just copy it over. However, simple line breaks "\n"
that would be normally ignored in html are converted to <br />
tags. I have disabled the visual editor, so everything I save should be the exact html that is presented. But it’s not. how do I stop wordpress from converting my html?

2 s
That’s handled by a filter called wpautop
(declared in wp-includes/formatting.php
, line 189).
You can remove it with this:
remove_filter('the_content', 'wpautop');