memcached_alan
yutao 10 years ago
parent 709c026910
commit 56a8e48a2b

@ -171,7 +171,10 @@ function nh_init_board(params){
}else{ }else{
params.textarea.html(params.init_content_val.val()); params.textarea.html(params.init_content_val.val());
} }
editor.valueOf(params.textarea); var str = params.textarea.html();
str=str.replace(new RegExp(/&lt;/g),'<');
str=str.replace(new RegExp(/&gt;/g),'>');
editor.html(str);
params.subjectmsg.hide(); params.subjectmsg.hide();
params.contentmsg.hide(); params.contentmsg.hide();
if(params.quote_show!=undefined)params.quote_show.empty(); if(params.quote_show!=undefined)params.quote_show.empty();

Loading…
Cancel
Save