You are here

protected function MarkdownExtra::_stripFootnotes_callback in Express 8

* Callback for stripping footnotes *

Parameters

array $matches: * @return string

File

vendor/michelf/php-markdown/Michelf/MarkdownExtra.php, line 1577

Class

MarkdownExtra
Markdown Extra Parser Class

Namespace

Michelf

Code

protected function _stripFootnotes_callback($matches) {
  $note_id = $this->fn_id_prefix . $matches[1];
  $this->footnotes[$note_id] = $this
    ->outdent($matches[2]);
  return '';

  // String that will replace the block
}