diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-02-02 19:04:57 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-02-02 19:04:57 +0100 |
commit | f73e3dcb97a74d752ecef55f5d4f05bedf3d88cb (patch) | |
tree | cffe09674ad5705a6613c3da277360b35c289ec1 | |
parent | d5bd720d19132c9381fd92cd8600c22a0394efdf (diff) | |
download | rpg-f73e3dcb97a74d752ecef55f5d4f05bedf3d88cb.tar.gz rpg-f73e3dcb97a74d752ecef55f5d4f05bedf3d88cb.tar.bz2 |
correctly strip footnote marker from popup note FS#1584
Ignore-this: 3858b6ec18bc178597d098dfb96001b
darcs-hash:20090202180457-7ad00-f3d5344732acd4cc90ee08d120431e9fd88dab57.gz
-rw-r--r-- | lib/scripts/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 5f868c172..2421f3577 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -316,7 +316,7 @@ function footnote(e){ var content = new String (a.parentNode.parentNode.innerHTML); // strip the leading content anchors and their comma separators - content = content.replace(/<a\s.*?href=\".*\#fnt__\d+\".*?<\/a>/gi, ''); + content = content.replace(/<sup>.*<\/sup>/gi, ''); content = content.replace(/^\s+(,\s+)+/,''); // prefix ids on any elements with "insitu__" to ensure they remain unique |