Added CDATA escaping for correct handling of return carriage.