code: public function removeClass($name){
  		$classParts=explode(' ',$this->tags['class']);
  		$className='';
  		foreach($classParts as $part){
  			if($name!=$part){
  				$className.=' '.$part;
  			}
  		}
  
  		$this->tags['class']=trim($className);
  
  	}
docs: Remove part html tag class
  
  @param string $name - class name: