Output from ob_get_clean() is truncated at 1024 characters!?
I'm working on someone elses code and there is ~800 lines of markup mixed in with <?php ?> tags.  I'm trying to apply some templates to these pages and I thought I would start by capturing all the output in an output buffer, return that as a variable and then sort things out piece by piece.

The problem is that at the end of the buffer when I return the output as a string it is truncated at 1024 characters.  Why would this be?
Output from ob_get_clean() is truncated at 1024 characters!?
===

I'm working on someone elses code and there is ~800 lines of markup mixed in with <?php ?> tags.  I'm trying to apply some templates to these pages and I thought I would start by capturing all the output in an output buffer, return that as a variable and then sort things out piece by piece.

The problem is that at the end of the buffer when I return the output as a string it is truncated at 1024 characters.  Why would this be?