League\CommonMark\DocParser::isLazyParagraphContinuation PHP Method

isLazyParagraphContinuation() private method

private isLazyParagraphContinuation ( League\CommonMark\ContextInterface $context, Cursor $cursor ) : boolean
$context League\CommonMark\ContextInterface
$cursor Cursor
return boolean
    private function isLazyParagraphContinuation(ContextInterface $context, Cursor $cursor)
    {
        return !$context->getBlockCloser()->areAllClosed() && !$cursor->isBlank() && $context->getTip() instanceof Paragraph && count($context->getTip()->getStrings()) > 0;
    }