aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/current/html_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-11-20 23:10:12 -0500
committerRalph Amissah <ralph@amissah.com>2014-12-08 00:18:15 -0500
commit802c36252a6a8d652970ef207e36ed1bc09be0a7 (patch)
treec7e045a6005227fa8c266b26248c4df59efda738 /lib/sisu/current/html_format.rb
parentd: in dp (param) project_details used instead of sisu_version (diff)
d: misc mostly minor
* html endnote segment, heading endnote, link back to html scroll * epub endnote segment fails, issue with match, fix * dp, remark if no existing option selected
Diffstat (limited to 'lib/sisu/current/html_format.rb')
-rw-r--r--lib/sisu/current/html_format.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/current/html_format.rb b/lib/sisu/current/html_format.rb
index d5910e9a..af9b9c3c 100644
--- a/lib/sisu/current/html_format.rb
+++ b/lib/sisu/current/html_format.rb
@@ -1147,8 +1147,8 @@ WOK
def initialize(md,txt)
super(md,txt)
end
- def endnote_seg_body(fn='') #FIX #url construction keep within single line... BUG WATCH 200408
- fn='doc' if fn.to_s.empty? #you may wish to reconsider, sends to 'doc' where no segment info
+ def endnote_seg_body(fn='')
+ fn="../#{@md.fnb}" if fn.to_s.empty?
%{
<p class="endnote">
#{@endnote_part_a}#{fn}#{@md.lang_code_insert}#{Sfx[:html]}#{@endnote_part_b}