public/ckeditor/_source/plugins/styles/plugin.js
function removeNoAttribsElement( element )
	{
		// If no more attributes remained in the element, remove it,
		// leaving its children.
		if ( !element.hasAttributes() )
		{
			if ( CKEDITOR.dtd.$block[ element.getName() ] )
			{
				var previous = element.getPrevious( nonWhitespaces ),
						next = element.getNext( nonWhitespaces );

				if ( previous && ( previous.type == CKEDITOR.NODE_TEXT || !previous.isBlockBoundary( { br : 1 } ) ) )
					element.append( 'br', 1 );
				if ( next && ( next.type == CKEDITOR.NODE_TEXT || !next.isBlockBoundary( { br : 1 } ) ) )
					element.append( 'br' );

				element.remove( true );
			}
			else
			{
				// Removing elements may open points where merging is possible,
				// so let's cache the first and last nodes for later checking.
				var firstChild = element.getFirst();
				var lastChild = element.getLast();

				element.remove( true );

				if ( firstChild )
				{
					// Check the cached nodes for merging.
					firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings();

					if ( lastChild && !firstChild.equals( lastChild )
							&& lastChild.type == CKEDITOR.NODE_ELEMENT )
						lastChild.mergeSiblings();
				}

			}
		}
	}
function removeNoAttribsElement( element )
	{
		// If no more attributes remained in the element, remove it,
		// leaving its children.
		if ( !element.hasAttributes() )
		{
			if ( CKEDITOR.dtd.$block[ element.getName() ] )
			{
				var previous = element.getPrevious( nonWhitespaces ),
						next = element.getNext( nonWhitespaces );

				if ( previous && ( previous.type == CKEDITOR.NODE_TEXT || !previous.isBlockBoundary( { br : 1 } ) ) )
					element.append( 'br', 1 );
				if ( next && ( next.type == CKEDITOR.NODE_TEXT || !next.isBlockBoundary( { br : 1 } ) ) )
					element.append( 'br' );

				element.remove( true );
			}
			else
			{
				// Removing elements may open points where merging is possible,
				// so let's cache the first and last nodes for later checking.
				var firstChild = element.getFirst();
				var lastChild = element.getLast();

				element.remove( true );

				if ( firstChild )
				{
					// Check the cached nodes for merging.
					firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings();

					if ( lastChild && !firstChild.equals( lastChild )
							&& lastChild.type == CKEDITOR.NODE_ELEMENT )
						lastChild.mergeSiblings();
				}

			}
		}
	}
function removeNoAttribsElement ( element ) { // If no more attributes remained in the element, remove it,
 // leaving its children.
 if ( ! element . hasAttributes ( ) ) { if ( CKEDITOR . dtd . $block [ element . getName ( ) ] ) { var previous = element . getPrevious ( nonWhitespaces ) , next = element . getNext ( nonWhitespaces ) ; if ( previous && ( previous . type == CKEDITOR . NODE_TEXT || ! previous . isBlockBoundary ( { br : 1 } ) ) ) element . append ( 'br' , 1 ) ; if ( next && ( next . type == CKEDITOR . NODE_TEXT || ! next . isBlockBoundary ( { br : 1 } ) ) ) element . append ( 'br' ) ; element . remove ( true ) ; } else { // Removing elements may open points where merging is possible,
 // so let's cache the first and last nodes for later checking.
 var firstChild = element . getFirst ( ) ; var lastChild = element . getLast ( ) ; element . remove ( true ) ; if ( firstChild ) { // Check the cached nodes for merging.
 firstChild . type == CKEDITOR . NODE_ELEMENT && firstChild . mergeSiblings ( ) ; if ( lastChild && ! firstChild . equals ( lastChild ) && lastChild . type == CKEDITOR . NODE_ELEMENT ) lastChild . mergeSiblings ( ) ; } } } }
If the element has no more attributes, remove it.
If the element has no more attributes remove it .