original_string: protected function textParsedownElement(array $attributes, $reset = true)
      {
          $text = empty($attributes['title']) ? empty($attributes['alt']) ? $this->get('filename') : $attributes['alt'] : $attributes['title'];
  
          $element = [
              'name' => 'p',
              'attributes' => $attributes,
              'text' => $text
          ];
  
          if ($reset) {
              $this->reset();
          }
  
          return $element;
      }
code: protected function textParsedownElement(array $attributes, $reset = true)
      {
          $text = empty($attributes['title']) ? empty($attributes['alt']) ? $this->get('filename') : $attributes['alt'] : $attributes['title'];
  
          $element = [
              'name' => 'p',
              'attributes' => $attributes,
              'text' => $text
          ];
  
          if ($reset) {
              $this->reset();
          }
  
          return $element;
      }
code_tokens: protected function textParsedownElement ( array $ attributes , $ reset = true ) { $ text = empty ( $ attributes [ 'title' ] ) ? empty ( $ attributes [ 'alt' ] ) ? $ this -> get ( 'filename' ) : $ attributes [ 'alt' ] : $ attributes [ 'title' ] ; $ element = [ 'name' => 'p' , 'attributes' => $ attributes , 'text' => $ text ] ; if ( $ reset ) { $ this -> reset ( ) ; } return $ element ; }
docstring: Parsedown element for text display mode
  
  @param  array $attributes
  @param  bool $reset
  @return array
docstring_tokens: Parsedown element for text display mode