public/ckeditor/_source/core/htmlparser/fragment.js
function( writer, filter )
		{
			var isChildrenFiltered;
			this.filterChildren = function()
			{
				var writer = new CKEDITOR.htmlParser.basicWriter();
				this.writeChildrenHtml.call( this, writer, filter, true );
				var html = writer.getHtml();
				this.children = new CKEDITOR.htmlParser.fragment.fromHtml( html ).children;
				isChildrenFiltered = 1;
			};

			// Filtering the root fragment before anything else.
			!this.name && filter && filter.onFragment( this );

			this.writeChildrenHtml( writer, isChildrenFiltered ? null : filter );
		}
function( writer, filter )
		{
			var isChildrenFiltered;
			this.filterChildren = function()
			{
				var writer = new CKEDITOR.htmlParser.basicWriter();
				this.writeChildrenHtml.call( this, writer, filter, true );
				var html = writer.getHtml();
				this.children = new CKEDITOR.htmlParser.fragment.fromHtml( html ).children;
				isChildrenFiltered = 1;
			};

			// Filtering the root fragment before anything else.
			!this.name && filter && filter.onFragment( this );

			this.writeChildrenHtml( writer, isChildrenFiltered ? null : filter );
		}
function ( writer , filter ) { var isChildrenFiltered ; this . filterChildren = function ( ) { var writer = new CKEDITOR . htmlParser . basicWriter ( ) ; this . writeChildrenHtml . call ( this , writer , filter , true ) ; var html = writer . getHtml ( ) ; this . children = new CKEDITOR . htmlParser . fragment . fromHtml ( html ) . children ; isChildrenFiltered = 1 ; } ; // Filtering the root fragment before anything else.
 ! this . name && filter && filter . onFragment ( this ) ; this . writeChildrenHtml ( writer , isChildrenFiltered ? null : filter ) ; }
Writes the fragment HTML to a CKEDITOR.htmlWriter.
@param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
@example
var writer = new CKEDITOR.htmlWriter();
var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '&lt;P&gt;&lt;B&gt;Example' );
fragment.writeHtml( writer )
alert( writer.getHtml() );  "&lt;p&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/p&gt;"
Writes the fragment HTML to a CKEDITOR . htmlWriter .