Changeset 1837

Show
Ignore:
Timestamp:
2008-03-28 18:35:25 (4 months ago)
Author:
wwalc
Message:

Fix for #1780 (Formatting removes space after a word)

Files:
1 modified

Legend:

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

    r1836 r1837  
    542542                                        } 
    543543 
    544                                         if ( !htmlNode.nextSibling && !this._inLSpace ) 
     544                                        if ( !htmlNode.nextSibling && !this._inLSpace && (!htmlNode.parentNode || !htmlNode.parentNode.nextSibling)) 
    545545                                                textValue = textValue.RTrim() ; 
    546546