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;
    }
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;
    }
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 ; }
Parsedown element for text display mode

@param  array $attributes
@param  bool $reset
@return array
Parsedown element for text display mode