Allow tab and newline characters as input to "write text" method.