original_string: public function properTagSize(&$attrs)
      {
          if (isset($attrs['size']) && is_int(strpos($attrs['size'], 'x'))) {
              list ($attrs['width'], $attrs['height']) = explode('x', $attrs['size']);
              unset($attrs['size']);
          }
      }
code: public function properTagSize(&$attrs)
      {
          if (isset($attrs['size']) && is_int(strpos($attrs['size'], 'x'))) {
              list ($attrs['width'], $attrs['height']) = explode('x', $attrs['size']);
              unset($attrs['size']);
          }
      }
code_tokens: public function properTagSize ( & $ attrs ) { if ( isset ( $ attrs [ 'size' ] ) && is_int ( strpos ( $ attrs [ 'size' ] , 'x' ) ) ) { list ( $ attrs [ 'width' ] , $ attrs [ 'height' ] ) = explode ( 'x' , $ attrs [ 'size' ] ) ; unset ( $ attrs [ 'size' ] ) ; } }
docstring: Proper tag size.
  Converts a "size" attribute to width and height attributes
  if it contains an "x", which is assumed to be like \d+x\d+.
docstring_tokens: Proper tag size . Converts a size attribute to width and height attributes if it contains an x which is assumed to be like \ d + x \ d + .