git-svn-id: http://xe-core.googlecode.com/svn/trunk@835 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-30 10:01:51 +00:00
parent 10be4c845a
commit 078ea34bc4
13 changed files with 47 additions and 49 deletions

View file

@ -165,7 +165,7 @@ function editorGetContent(upload_target_srl) {
if(!iframe_obj) return;
var html = '';
html = xInnerHtml(iframe_obj.contentWindow.document.body);
html = html.replace(/^<br>$/i,'');
if(html) html = html.replace(/^<br>$/i,'');
if(!html) return "";
return html;