Changeset 226


Ignore:
Timestamp:
06/09/05 12:05:16 (15 years ago)
Author:
niko
Message:

#325 don't remove <p /> in IE, will be replaced by #253 hopefully but for now we should fix the bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r225 r226  
    46724672      } 
    46734673      if (html != "") { 
    4674         html += closed ? " />" : ">"; 
     4674        if(closed && root_tag=="p") { 
     4675          //never use <p /> as empty paragraphs won't be visible 
     4676          html += ">&nbsp;</p>"; 
     4677        } else if(closed) { 
     4678          html += " />"; 
     4679        } else { 
     4680          html += ">"; 
     4681        } 
    46754682      } 
    46764683    } 
Note: See TracChangeset for help on using the changeset viewer.