Compare commits
No commits in common. "c6f080831396b835cbb8face7b9b6f79aa64e242" and "5f1933a34501275891c9d1608a05f80a52d5182b" have entirely different histories.
c6f0808313
...
5f1933a345
1 changed files with 1 additions and 2 deletions
|
@ -59,7 +59,6 @@ SDV($FootnoteBacklinkCharacter, '⇑');
|
||||||
Markup("[^",'<split','/\[\^(.*?)\^\]/s',"Footnote");
|
Markup("[^",'<split','/\[\^(.*?)\^\]/s',"Footnote");
|
||||||
Markup("checkbox", "inline", "/\[ \]/", "<input type=checkbox class=checkbox disabled>");
|
Markup("checkbox", "inline", "/\[ \]/", "<input type=checkbox class=checkbox disabled>");
|
||||||
Markup("checkedbox", "inline", "/\[x\]/", "<input type=checkbox class=checkbox disabled checked>");
|
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) {
|
function Footnote($m) {
|
||||||
static $fngroup = 1, $fncount = 0, $fntext = array();
|
static $fngroup = 1, $fncount = 0, $fntext = array();
|
||||||
|
@ -84,7 +83,7 @@ function Footnote($m) {
|
||||||
}
|
}
|
||||||
$fnid = $fngroup . '_' . $fncount;
|
$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;
|
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