protected function Markdown::runBlockGamut in Markdown 7
* 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 of * list items and could have been indented. Indented blocks would have * been seen as a code block in a previous pass of hashHTMLBlocks. * *
Parameters
string $text: * @return string
4 calls to Markdown::runBlockGamut()
- Markdown::_doBlockQuotes_callback in includes/
Markdown.php - * Blockquote parsing callback *
- Markdown::_processListItems_callback in includes/
Markdown.php - * List item parsing callback *
- MarkdownExtra::appendFootnotes in includes/
MarkdownExtra.php - * Append footnote list to text *
- MarkdownExtra::_processDefListItems_callback_dd in includes/
MarkdownExtra.php - * Callback for <dd> elements in definition lists *
File
- includes/
Markdown.php, line 543
Class
- Markdown
- Markdown Parser Class
Namespace
MichelfCode
protected function runBlockGamut($text) {
$text = $this
->hashHTMLBlocks($text);
return $this
->runBasicBlockGamut($text);
}