summaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-rdtool/files/patch-rdhtml-lib.rb')
-rw-r--r--textproc/ruby-rdtool/files/patch-rdhtml-lib.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb b/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb
new file mode 100644
index 000000000000..05b10801d3e3
--- /dev/null
+++ b/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb
@@ -0,0 +1,11 @@
+--- rd/rd2html-lib.rb.orig Wed Jun 6 02:20:47 2001
++++ rd/rd2html-lib.rb Sat Dec 8 21:49:40 2001
+@@ -347,7 +347,7 @@
+ def apply_to_Foottext(element, content)
+ num = get_footnote_num(element)
+ raise ArgumentError, "[BUG] #{element} isn't registered." unless num
+- %|<a name="foottext:#{num}" id="foottext:#{num}" href="footmark:#{num}">|+
++ %|<a name="foottext:#{num}" id="foottext:#{num}" href="#footmark:#{num}">|+
+ %|<sup><small>*#{num}</small></sup></a>| +
+ %|<small>#{content}</small><br />|
+ end