在<textarea>里面,按回车,是普通回车,需要过滤掉写了一个方法,好象没效果
public static replaceHtml(String html){     
 html=html.replaceAll("\n","");
 html=html.replaceAll("\r\n",""); 
     return html;
}
正确是。