From 29bfcd16ff6df2bbd7371cb73689464136bbe987 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 19 Jan 2008 02:06:14 +0100 Subject: use to markup footnote anchors Using the HTML tag ensures that footnotes are shown correctly when displayed outside the DokuWiki stylesheet (eg. in feedreaders) darcs-hash:20080119010614-7ad00-59426b5e1d44f0ab932867e19e42b71f260f9cc9.gz --- inc/parser/xhtml.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'inc/parser/xhtml.php') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 92cfc38ba..f033f6082 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -60,8 +60,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer { // open the footnote and set the anchor and backlink $this->doc .= '
'; - $this->doc .= ''; - $this->doc .= $id.') '.DOKU_LF; + $this->doc .= ''; + $this->doc .= $id.') '.DOKU_LF; // get any other footnotes that use the same markup $alt = array_keys($this->footnotes, "@@FNT$id"); @@ -69,8 +69,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer { if (count($alt)) { foreach ($alt as $ref) { // set anchor and backlink for the other footnotes - $this->doc .= ', '; - $this->doc .= ($ref+1).') '.DOKU_LF; + $this->doc .= ', '; + $this->doc .= ($ref+1).') '.DOKU_LF; } } @@ -260,7 +260,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } // output the footnote reference and link - $this->doc .= ''.$id.')'; + $this->doc .= ''.$id.')'; } function listu_open() { -- cgit v1.2.3