function Markdown_Parser::_doAutoLinks_url_callback in Markdown 5
Same name and namespace in other branches
- 6 markdown.php \Markdown_Parser::_doAutoLinks_url_callback()
File
- ./
markdown.php, line 1433
Class
Code
function _doAutoLinks_url_callback($matches) {
$url = $this
->encodeAttribute($matches[1]);
$link = "<a href=\"{$url}\">{$url}</a>";
return $this
->hashPart($link);
}