protected function MarkdownExtra::doFootnotes in Express 8
* Replace footnote references in $text [^id] with a special text-token * which will be replaced by the actual footnote marker in appendFootnotes. *
Parameters
string $text: * @return string
File
- vendor/
michelf/ php-markdown/ Michelf/ MarkdownExtra.php, line 1589
Class
- MarkdownExtra
- Markdown Extra Parser Class
Namespace
MichelfCode
protected function doFootnotes($text) {
if (!$this->in_anchor) {
$text = preg_replace('{\\[\\^(.+?)\\]}', "F\32fn:\\1\32:", $text);
}
return $text;
}