Found it. Line 39 of templates/default/admin/database.tmpl currently has this:
document.sql.command.value = commandArray[i].replace(/JSLBR/g,'\n');
That, should be this:
document.sql.command.value = commandArray[i].replace(/JSLBR/g,'\\n');
Last edited by Rick; 03/09/2009 2:54 PM.