Fix a textarea test on IE8.

IE8 substitutes \n with \r\n in values of
textarea elements.