You are here

protected function MarkdownExtra::_stripFootnotes_callback in Markdown 7

* Callback for stripping footnotes *

Parameters

array $matches: * @return string

File

includes/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
}