mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Remove meaningless interrupt check
Interrupted implies previousEmptyLines > 0 in incoming Context
This commit is contained in:
@@ -15,7 +15,7 @@ use Erusev\Parsedown\State;
|
||||
|
||||
final class BlockQuote implements ContinuableBlock
|
||||
{
|
||||
use ContinuableBlockDefaultInterrupt, BlockAcquisition;
|
||||
use BlockAcquisition;
|
||||
|
||||
/** @var Lines */
|
||||
private $Lines;
|
||||
@@ -64,7 +64,7 @@ final class BlockQuote implements ContinuableBlock
|
||||
*/
|
||||
public function advance(Context $Context)
|
||||
{
|
||||
if ($this->interrupted) {
|
||||
if ($Context->previousEmptyLines() > 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user