replace \r\n in tplParser