In case of IE use non-breaking spaces inside slugs instead of invisible separators - as in different browsers.

Change-Id: Ib6ae077206de1ad772e47e212a9f276f6b0081e0
This commit is contained in:
Inez Korczynski 2012-06-21 13:34:13 -07:00
parent 3f8863b05a
commit 6381709703

View file

@ -33,7 +33,11 @@ ve.ce.BranchNode = function( type, model, $element ) {
/* Static Members */
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">&#xFEFF;</span>' );
if ( $.browser.msie ) {
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">&nbsp;</span>' );
} else {
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">&#xFEFF;</span>' );
}
/* Static Methods */