Add missing newline characters