code: function (tagName, attribs) {
  
  			var intPattern = /^[0-9]*$/;
  			for (var i = 0; i < attribs.length; i += 2) {
  				// attribs[i] is the name of the tag's attribute.
  				// attribs[i+1] is its corresponding value.
  				// (i.e. <span class="foo"> -> attribs[i] = "class" | attribs[i+1] =
  				// "foo")
  
  				var sAttribKey = tagName + "::" + attribs[i];
  
  				if (this._renderingRules.ATTRIBS[sAttribKey]) {
  					// keep the value of this class
  					if (tagName === "embed" && !(attribs[i + 1].match(intPattern))) {
  						return null;
  					}
  				} else {
  					var sWarning = '<' + tagName + '> with attribute [' + attribs[i] + '="' + attribs[i + 1] + '"] is not allowed and cut';
  					Log.warning(sWarning, this);
  
  					// to remove this attribute by the sanitizer the value has to be
  					// set to null
  					attribs[i + 1] = null;
  				}
  
  			}
  			return attribs;
  		}
docs: Sanitizes attributes on an HTML tag.
  
  @param {string} tagName An HTML tag name in lowercase
  @param {array} attribs An array of alternating names and values
  @return {array} The sanitized attributes as a list of alternating names and values. Null value means to omit the attribute
  @private