function Markdown_Parser::setup in Markdown 6
Same name and namespace in other branches
- 5 markdown.php \Markdown_Parser::setup()
2 calls to Markdown_Parser::setup()
1 method overrides Markdown_Parser::setup()
File
- ./
markdown.php, line 288
Class
Code
function setup() {
#
# Called before the transformation process starts to setup parser
# states.
#
# Clear global hashes.
$this->urls = $this->predef_urls;
$this->titles = $this->predef_titles;
$this->html_hashes = array();
$this->in_anchor = false;
}