/src/main/java/org/htmlunit/html/HtmlTextArea.java
if ( builder.charAt( 0) == '\n') {
if ( builder.length ( ) != 0 && builder.charAt ( 0 ) == '\n' ) {
final StringBuilder builder = new StringBuilder(); for (final DomNode node : getDescendants()) { if (node instanceof DomText) { builder.append(((DomText) node).getData()); } } <extra_id_0> builder.deleteCharAt(0); } return builder.toString(); } @Override public final void setText(final String newValue) {