You are here

function Markdown_Parser::_doAutoLinks_email_callback in Markdown 6

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

File

./markdown.php, line 1490

Class

Markdown_Parser

Code

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