All lines are in an unmodified ./system/core/Output.php
PHP Version 5.3.10-1ubuntu3.4
Ln. 691: Should this read:
if ( ! empty($textareas_clean) && ! empty($textareas_clean))
or even just
if ( ! empty($textareas_clean))
My reasoning for the second !empty check is that the first is firing as true all the time (due to the array having a nested array), whether I have textareas in my output or not. The same second check should probably apply to lines 679 and 685 if true.