Warning: Undefined array key "ns" in /customers/3/0/2/riff-raff.se/httpd.www/wiki/conf/local.protected.php on line 47 Warning: Cannot modify header information - headers already sent by (output started at /customers/3/0/2/riff-raff.se/httpd.www/wiki/conf/local.protected.php:47) in /customers/3/0/2/riff-raff.se/httpd.www/wiki/inc/auth.php on line 431 Warning: Cannot modify header information - headers already sent by (output started at /customers/3/0/2/riff-raff.se/httpd.www/wiki/conf/local.protected.php:47) in /customers/3/0/2/riff-raff.se/httpd.www/wiki/inc/actions.php on line 38
Fil: /inc/parser/xhtml.php
Funktion: footnote_close() Rad: 291
Ta bort:
$this->doc .= '<a href="#fn__'.$id.'" name="fnt__'.$id.'" id="fnt__'.$id.'" class="fn_top">'.$id.')</a>';
Ersätt med:
$this->doc .= '<a href="#fn__'.$id.'" name="fnt__'.$id.'" id="fnt__'.$id.'" class="fn_top">'.$id.'</a>';
Funktion: function document_end() Rad: 68
Ta bort:
$this->doc .= $id.')</a> '.DOKU_LF;
Ersätt med:
$this->doc .= $id.'.</a> '.DOKU_LF;
Rad 276–288.
Ersätt
// check to see if this footnote has been seen before $i = array_search($footnote, $this->footnotes); if ($i === false) { // its a new footnote, add it to the $footnotes array $id = count($this->footnotes)+1; $this->footnotes[count($this->footnotes)] = $footnote; } else { // seen this one before, translate the index to an id and save a placeholder $i++; $id = count($this->footnotes)+1; $this->footnotes[count($this->footnotes)] = "@@FNT".($i); }
med
// its a new footnote, add it to the $footnotes array $id = count($this->footnotes)+1; $this->footnotes[count($this->footnotes)] = $footnote;
Rad: 70–79
Ta bort:
// get any other footnotes that use the same markup $alt = array_keys($this->footnotes, "@@FNT$id"); if (count($alt)) { foreach ($alt as $ref) { // set anchor and backlink for the other footnotes $this->doc .= ', <a href="#fnt__'.($ref+1).'" id="fn__'.($ref+1).'" name="fn__'.($ref+1).'" class="fn_bot">'; $this->doc .= ($ref+1).')</a> '.DOKU_LF; } }