You are here

function Markdown_Parser::_stripLinkDefinitions_callback in Markdown 5

Same name and namespace in other branches
  1. 6 markdown.php \Markdown_Parser::_stripLinkDefinitions_callback()

File

./markdown.php, line 361

Class

Markdown_Parser

Code

function _stripLinkDefinitions_callback($matches) {
  $link_id = strtolower($matches[1]);
  $this->urls[$link_id] = $matches[2];
  $this->titles[$link_id] =& $matches[3];
  return '';

  # String that will replace the block
}