You are here

function MarkdownExtra_Parser::_stripFootnotes_callback in Markdown 5

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

File

./markdown.php, line 2634

Class

MarkdownExtra_Parser

Code

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
}