Encoder no longer runs together consecutive documents without a newline