Ticket #981: ie_img_padding_doctype.patch

File ie_img_padding_doctype.patch, 670 bytes (added by axel@…, 13 years ago)
  • Z:/public_html/ncs/htdoc/js/xinha/htmlarea.js

     
    21822182  var html = ''; 
    21832183  if ( !editor.config.fullPage ) 
    21842184  { 
    2185     html = "<html>\n"; 
     2185    html = this.doctype; 
     2186    html += "\n"; 
     2187    html += "<html>\n"; 
    21862188    html += "<head>\n"; 
    21872189    html += "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" + editor.config.charSet + "\">\n"; 
    21882190    if ( typeof editor.config.baseHref != 'undefined' && editor.config.baseHref !== null )