Compare commits

..

No commits in common. "c6f080831396b835cbb8face7b9b6f79aa64e242" and "5f1933a34501275891c9d1608a05f80a52d5182b" have entirely different histories.

View file

@ -59,7 +59,6 @@ SDV($FootnoteBacklinkCharacter, '⇑');
Markup("[^",'<split','/\[\^(.*?)\^\]/s',"Footnote");
Markup("checkbox", "inline", "/\[ \]/", "<input type=checkbox class=checkbox disabled>");
Markup("checkedbox", "inline", "/\[x\]/", "<input type=checkbox class=checkbox disabled checked>");
Markup("citationneeded", "inline", "/\{\{(cn|[Cc]itation needed)(\|(reason|date)=.+?)?\}\}/", "<sup>[<em>citation needed</em>]</sup>");
function Footnote($m) {
static $fngroup = 1, $fncount = 0, $fntext = array();
@ -84,7 +83,7 @@ function Footnote($m) {
}
$fnid = $fngroup . '_' . $fncount;
$out = (isset($fn_str_parts[2]) && $fn_str_parts[2] != '' && $fntext[$fncount] == '#') ? '' : "<sup><a class='footnote' id='fnr$fnid' href='#fn$fnid'>[$fncount]</a></sup>";
$out = ($fn_str_parts[2] != '' && $fntext[$fncount] == '#') ? '' : "<sup><a class='footnote' id='fnr$fnid' href='#fn$fnid'>[$fncount]</a></sup>";
global $FootnoteBacklinkCharacter;
if ($fn_str != '') {
$fntext[$fncount] = "<div class='footnote' id='fn$fnid'>\n" .