Add support for newlines, carriage return and tabs