function Markdown_Parser::_stripLinkDefinitions_callback in Markdown 6
Same name and namespace in other branches
- 5 markdown.php \Markdown_Parser::_stripLinkDefinitions_callback()
1 method overrides Markdown_Parser::_stripLinkDefinitions_callback()
File
- ./
markdown.php, line 393
Class
Code
function _stripLinkDefinitions_callback($matches) {
$link_id = strtolower($matches[1]);
$url = $matches[2] == '' ? $matches[3] : $matches[2];
$this->urls[$link_id] = $url;
$this->titles[$link_id] =& $matches[4];
return '';
# String that will replace the block
}