title: Which function does WP use to format the output?
body: <p>I pulling a post's content using database query and printing it out.
  Unfortunately, I am loosing all the formatting that WP puts in when outputting content.  Such as the additional br tags.  Which function does WP use to format the output? I would like to put the content through that function before printing it.  Many thanks in advance for your help.</p>