We’re rewarding the question askers & reputations are being recalculated! Read more.
2 of 2 Adjusted the title, improved formatting and removed "Thanks"

How to disable content pagination?

I want to totally disable this functionality from WordPress because I'm implementing my own version of this with Javascript.

When I try to grab all the content in a post via the get_the_content() or the_content() it gives me only the first page, since the content has the page breaks. When I use $post->the_content I get the full post but it's not formatted with HTML tags. I don't want to have to add those myself programatically.

So I either need to get all the content already formatted - the way to do this is unknown to me at the moment or disable wp_page_links() so it doesn't paginate my posts.