protected function blockMarkupContinue($Line, array $Block)
{
if (isset($Block['closed'])) {
return;
}
if (preg_match('/^<' . $Block['name'] . '(?:[ ]*' . $this->regexHtmlAttribute . ')*[ ]*>/i', $Line['text'])) {
$Block['depth']++;
}
if (preg_match('/(.*?)<\\/' . $Block['name'] . '>[ ]*$/i', $Line['text'], $matches)) {
if ($Block['depth'] > 0) {
$Block['depth']--;
} else {
$Block['closed'] = true;
}
}
if (isset($Block['interrupted'])) {
$Block['markup'] .= "\n";
unset($Block['interrupted']);
}
$Block['markup'] .= "\n" . $Line['body'];
return $Block;
}