protected function Markdown::runBasicBlockGamut in Markdown 7
* Run block gamut tranformations, without hashing HTML blocks. This is * useful when HTML blocks are known to be already hashed, like in the first * whole-document pass. * *
Parameters
string $text: * @return string
1 call to Markdown::runBasicBlockGamut()
- Markdown::runBlockGamut in includes/
Markdown.php - * Run block gamut tranformations. * * We need to escape raw HTML in Markdown source before doing anything * else. This need to be done for each block, and not only at the * begining in the Markdown function since hashed blocks can be part…
File
- includes/
Markdown.php, line 556
Class
- Markdown
- Markdown Parser Class
Namespace
MichelfCode
protected function runBasicBlockGamut($text) {
foreach ($this->block_gamut as $method => $priority) {
$text = $this
->{$method}($text);
}
// Finally form paragraph and restore hashed blocks.
$text = $this
->formParagraphs($text);
return $text;
}