You are here

function Markdown_Parser::_doAutoLinks_email_callback in Markdown 5

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

File

./markdown.php, line 1438

Class

Markdown_Parser

Code

function _doAutoLinks_email_callback($matches) {
  $address = $matches[1];
  $link = $this
    ->encodeEmailAddress($address);
  return $this
    ->hashPart($link);
}