original_string: protected function removeAttribute($element, $attribute)
      {
          $replacement = Html::hasSurroundingAttributes($attribute) ? ' ' : '';
  
          return str_replace($attribute, $replacement, $element);
      }
code: protected function removeAttribute($element, $attribute)
      {
          $replacement = Html::hasSurroundingAttributes($attribute) ? ' ' : '';
  
          return str_replace($attribute, $replacement, $element);
      }
code_tokens: protected function removeAttribute ( $ element , $ attribute ) { $ replacement = Html :: hasSurroundingAttributes ( $ attribute ) ? ' ' : '' ; return str_replace ( $ attribute , $ replacement , $ element ) ; }
docstring: Remove the attribute from the element.
  
  @param string $element
  @param string $attribute
  
  @return string
docstring_tokens: Remove the attribute from the element .