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

This commit is contained in:
Catrope 2012-06-21 20:42:37 +00:00 committed by Gerrit Code Review
commit 0713303d27

View file

@ -33,7 +33,11 @@ ve.ce.BranchNode = function( type, model, $element ) {
/* Static Members */ /* 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 */ /* Static Methods */