src/Marked/Parser.php
public function parseText()
    {
        $body = $this->token['text'];

        $p = $this->peek();
        while (isset($p) && $p['type'] === 'text') {
            $n = $this->next();
            $body .= "\n" . $n['text'];
            $p = $this->peek();
        }

        return $this->inline->output($body);
    }
public function parseText()
    {
        $body = $this->token['text'];

        $p = $this->peek();
        while (isset($p) && $p['type'] === 'text') {
            $n = $this->next();
            $body .= "\n" . $n['text'];
            $p = $this->peek();
        }

        return $this->inline->output($body);
    }
public function parseText ( ) { $ body = $ this -> token [ 'text' ] ; $ p = $ this -> peek ( ) ; while ( isset ( $ p ) && $ p [ 'type' ] === 'text' ) { $ n = $ this -> next ( ) ; $ body .= "\n" . $ n [ 'text' ] ; $ p = $ this -> peek ( ) ; } return $ this -> inline -> output ( $ body ) ; }
Parse Text Tokens
Parse Text Tokens