Changeset 863 for trunk/modules


Ignore:
Timestamp:
07/10/07 18:08:12 (12 years ago)
Author:
ray
Message:
  • Ticket #1019 Cusor not jumping to editable part of window when clicked in IE7
  • Ticket #1046 Error in IE 6 when switching from text to wysiwyg
  • DOMwalk: linebreaks inserted before <br />s
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/GetHtml/DOMwalk.js

    r821 r863  
    5353 
    5454Xinha.emptyAttributes = " checked disabled ismap readonly nowrap compact declare selected defer multiple noresize noshade "; 
    55 Xinha.elGetsNewLine = function (el) { return (" br meta link title ".indexOf(" " + el.tagName.toLowerCase() + " ") != -1);}; 
     55Xinha.elGetsNewLine = function (el) { return (" br hr  meta link title ".indexOf(" " + el.tagName.toLowerCase() + " ") != -1);}; 
    5656 
    5757Xinha.getHTMLWrapper = function(root, outputRoot, editor, indent) 
     
    304304      else 
    305305      { 
    306         html = Xinha.htmlEncode(root.data); 
     306        html = Xinha.htmlEncode(root.data.trim()); 
    307307      } 
    308308    break; 
Note: See TracChangeset for help on using the changeset viewer.