Update footnote2.php
This commit is contained in:
parent
5f1933a345
commit
d23a632983
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ function Footnote($m) {
|
||||||
}
|
}
|
||||||
$fnid = $fngroup . '_' . $fncount;
|
$fnid = $fngroup . '_' . $fncount;
|
||||||
|
|
||||||
$out = ($fn_str_parts[2] != '' && $fntext[$fncount] == '#') ? '' : "<sup><a class='footnote' id='fnr$fnid' href='#fn$fnid'>[$fncount]</a></sup>";
|
$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>";
|
||||||
global $FootnoteBacklinkCharacter;
|
global $FootnoteBacklinkCharacter;
|
||||||
if ($fn_str != '') {
|
if ($fn_str != '') {
|
||||||
$fntext[$fncount] = "<div class='footnote' id='fn$fnid'>\n" .
|
$fntext[$fncount] = "<div class='footnote' id='fn$fnid'>\n" .
|
||||||
|
|
Loading…
Reference in a new issue