function Markdown_Parser::runBlockGamut in Markdown 6
Same name and namespace in other branches
- 5 markdown.php \Markdown_Parser::runBlockGamut()
4 calls to Markdown_Parser::runBlockGamut()
File
- ./
markdown.php, line 592
Class
Code
function runBlockGamut($text) {
#
# 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.
$text = $this
->hashHTMLBlocks($text);
return $this
->runBasicBlockGamut($text);
}