You are here

protected function Markdown::_hashHTMLBlocks_callback in Express 8

* The callback for hashing HTML blocks *

Parameters

string $matches: * @return string

File

vendor/michelf/php-markdown/Michelf/Markdown.php, line 477

Class

Markdown
Markdown Parser Class

Namespace

Michelf

Code

protected function _hashHTMLBlocks_callback($matches) {
  $text = $matches[1];
  $key = $this
    ->hashBlock($text);
  return "\n\n{$key}\n\n";
}