aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-04-16 10:10:43 -0400
committerRalph Amissah <ralph@amissah.com>2010-04-16 10:10:43 -0400
commit12479b344f23b23c51f7525bb3dd52b79ba4814e (patch)
tree32b70cdc34fbde11b09d4bdcff4d1face3510afc
parentvim syntax highlighting, minor (diff)
db, shared_html_lite, link back to footnote/endnote reference, fix
-rw-r--r--lib/sisu/v2/shared_html_lite.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v2/shared_html_lite.rb b/lib/sisu/v2/shared_html_lite.rb
index d3455a9a..a972e379 100644
--- a/lib/sisu/v2/shared_html_lite.rb
+++ b/lib/sisu/v2/shared_html_lite.rb
@@ -170,7 +170,7 @@ module SiSU_Format_Shared
txt=markup_note(en)
<<GSUB
<p class="endnote" name="note_#{nr}" from="#{@t_o.ocn}">
-<a href="#{@base_url}#-#{@notenumber}" name="_#{nr}">#{nr}.</a> <note>#{txt}</note>
+<a href="#{@base_url}#-#{nr}" name="_#{nr}">#{nr}.</a> <note>#{txt}</note>
</p>
GSUB
end
@@ -265,7 +265,7 @@ GSUB
@tab="\t"
@attrib=attrib
@txt=txt
- @lv=@notenumber=lv.to_s
+ @lv=lv.to_s
@hname=hname.to_s
@id=@ocn=id
end