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 --- lib/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/scripts') diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 7e565e1cb..ddc88c728 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -352,7 +352,7 @@ function footnote(e){ if (!a){ return; } // anchor parent is the footnote container, get its innerHTML - var content = new String (a.parentNode.innerHTML); + var content = new String (a.parentNode.parentNode.innerHTML); // strip the leading content anchors and their comma separators content = content.replace(//gi, ''); -- cgit v1.2.3