public/ckeditor/4.4dev/core/htmlparser/filter.js
function( context, currentName ) {
			var i = 0,
				rules = this.rules,
				len = rules.length,
				rule;

			for ( ; currentName && i < len; i++ ) {
				rule = rules[ i ];
				if ( isRuleApplicable( context, rule ) )
					currentName = currentName.replace( rule.value[ 0 ], rule.value[ 1 ] );
			}

			return currentName;
		}
function( context, currentName ) {
			var i = 0,
				rules = this.rules,
				len = rules.length,
				rule;

			for ( ; currentName && i < len; i++ ) {
				rule = rules[ i ];
				if ( isRuleApplicable( context, rule ) )
					currentName = currentName.replace( rule.value[ 0 ], rule.value[ 1 ] );
			}

			return currentName;
		}
function ( context , currentName ) { var i = 0 , rules = this . rules , len = rules . length , rule ; for ( ; currentName && i < len ; i ++ ) { rule = rules [ i ] ; if ( isRuleApplicable ( context , rule ) ) currentName = currentName . replace ( rule . value [ 0 ] , rule . value [ 1 ] ) ; } return currentName ; }
Executes this rules group on name. Applicable only if filter rules for names were added.

@param {String} currentName The name to be filtered.
@returns {String} Filtered name.
Executes this rules group on name . Applicable only if filter rules for names were added .