You are here

function MarkdownExtra_Parser::_stripFootnotes_callback in Markdown 6

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

File

./markdown.php, line 3060

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
}