diff --git a/src/Parser.php b/src/Parser.php index ff48133..f6d2baf 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -560,6 +560,10 @@ class Parser { while ($this->current()->type !== TokenType::EOF) { switch($this->current()->type) { case TokenType::ASTERISK: + if ($this->next()->type === TokenType::ASTERISK) { + $this->buildParagraph($this->parseText(true)); + break; + } $list = $this->parseList(); $this->document->appendChild($list); break;