rem: this_reply.replace(/<br>/g, "<br>\n"); this_reply.replace(/<p>/g, "\n\n<p>"); this_reply.replace(/<\/p>/g, "</p>\n\n"); 
add: this_reply = this_reply.replace(/<br>\n*/g, "<br>\n"); this_reply = this_reply.replace(/\n*<p>/g, "\n\n<p>"); this_reply = this_reply.replace(/<\/p>\n*/g, "</p>\n\n"); this_reply = this_reply.replace(/<\/p>\n\n\n*<p>/g, "</p>\n\n<p>"); 
context: function quoteReply(pid) {	var this_reply = comment_body_reply[pid];	// tailor whitespace to postmode	if ($('posttype').value != 2) {		this_reply.replace(/<br>/g, "\n");	} else {		this_reply.replace(/<br>/g, "<br>\n");		this_reply.replace(/<p>/g, "\n\n<p>");		this_reply.replace(/<\/p>/g, "</p>\n\n");	}	// <quote> parse code takes care of whitespace	this_reply.replace(/<quote>/g, "\n\n<quote>");	this_reply.replace(/<\/quote>/g, "</quote>\n\n");	$('postercomment').value = this_reply + "\n\n" + $('postercomment').value;}
meta: 200	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/200/91d321336ebc9c6cd6029d00823da003e44da4e5/comments.js/buggy/themes/slashcode/htdocs/images/comments.js