Changeset 1832

Show
Ignore:
Timestamp:
2008-03-28 12:09:22 (4 months ago)
Author:
wwalc
Message:

Fix for #2044: table headers are not lost now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/plugins/mediawiki/fckplugin.js

    r1829 r1832  
    338338                                                                        attribs = this._GetAttributesStr( htmlNode.rows[r].cells[c] ) ; 
    339339 
    340                                                                         stringBuilder.push( '|' ) ; 
     340                                                                        if ( htmlNode.rows[r].cells[c].tagName.toLowerCase() == "th" ) 
     341                                                                                stringBuilder.push( '!' ) ;  
     342                                                                        else 
     343                                                                                stringBuilder.push( '|' ) ; 
    341344 
    342345                                                                        if ( attribs.length > 0 )