aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/xhtml_epub2_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-01 01:00:30 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-01 01:00:30 -0400
commitf3832f0acc5b335fc820287ce2530435ad651202 (patch)
treeecd2004aecd2b706316291a98645ed98a5a25a75 /lib/sisu/v6/xhtml_epub2_segments.rb
parentdebian/changelog (5.4.2-1) (diff)
parentv5 v6: sysenv, developer _CONSTRUCTION_ZONE warning setup modified (diff)
Merge tag 'sisu_5.4.3' into debian/sid
SiSU 5.4.3
Diffstat (limited to 'lib/sisu/v6/xhtml_epub2_segments.rb')
-rw-r--r--lib/sisu/v6/xhtml_epub2_segments.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v6/xhtml_epub2_segments.rb b/lib/sisu/v6/xhtml_epub2_segments.rb
index d249b0ff..8b9254d4 100644
--- a/lib/sisu/v6/xhtml_epub2_segments.rb
+++ b/lib/sisu/v6/xhtml_epub2_segments.rb
@@ -80,6 +80,7 @@ module SiSU_XHTML_EPUB2_Seg
filename_seg << @seg[:heading_endnotes] << @seg[:headings] << %{\n<div class="content">\n} << @seg[:endnote_all] << '</div>'
elsif @type=='idx'
@seg[:headings]=[]
+ txt_obj={ txt: 'Index', ocn_display: ''}
format_seg=SiSU_XHTML_EPUB2_Format::FormatSeg.new(@md,txt_obj)
@seg[:headings] << format_seg.title_heading1
filename_seg << @seg[:heading_idx] << @seg[:headings] << %{\n<div class="content">\n} << @seg[:idx] << '</div>'