protected function Markdown::_stripLinkDefinitions_callback in Express 8
* The callback to strip link definitions *
Parameters
array $matches: * @return string
1 method overrides Markdown::_stripLinkDefinitions_callback()
- MarkdownExtra::_stripLinkDefinitions_callback in vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php - * Strip link definition callback *
File
- vendor/
michelf/ php-markdown/ Michelf/ Markdown.php, line 311
Class
- Markdown
- Markdown Parser Class
Namespace
MichelfCode
protected 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
}