assets/ckeditor/tests/plugins/widget/nestedwidgets.js
// unique ids like wn-0-1 and wp-0 (x gets replaced) and separated from each other with <p>xxx</p>.
unique ids like wn-0-1 and wp-0 (x gets replaced) and separated from each other with xxx.
unique ids like wn - 0 - 1 and wp - 0 ( x gets replaced ) and separated from each other with xxx .
function generateWidgetsData( howMany ) {
		var html = [];
		for ( var i = 0; i < howMany; ++i )
			html.push( widgetData.replace( /w([pn])-x/g, 'w$1-' + i ).replace( /p-x/g, 'p-' + i ) );
		return html.join( '<p>xxx</p>' );
	}
function generateWidgetsData ( howMany ) { var html = [ ] ; for ( var i = 0 ; i < howMany ; ++ i ) html . push ( widgetData . replace ( / w([pn])-x / g , 'w$1-' + i ) . replace ( / p-x / g , 'p-' + i ) ) ; return html . join ( '<p>xxx</p>' ) ; }
unique ids like wn-0-1 and wp-0 (x gets replaced) and separated from each other with <p>xxx</p>.
unique ids like wn - 0 - 1 and wp - 0 ( x gets replaced ) and separated from each other with <p > xxx< / p > .