Fixed newline characters not being parsed in EndActivity