function MarkdownExtra_Parser::_stripLinkDefinitions_callback in Markdown 6
Overrides Markdown_Parser::_stripLinkDefinitions_callback
File
- ./
markdown.php, line 1880
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];
$this->ref_attr[$link_id] = $this
->doExtraAttributes("", $dummy =& $matches[5]);
return '';
# String that will replace the block
}