aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/epub_segments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/epub_segments.rb')
-rw-r--r--lib/sisu/v3/epub_segments.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v3/epub_segments.rb b/lib/sisu/v3/epub_segments.rb
index f110dfe4..7e4c412e 100644
--- a/lib/sisu/v3/epub_segments.rb
+++ b/lib/sisu/v3/epub_segments.rb
@@ -301,7 +301,7 @@ WOK
if dob.is=='heading' \
and dob.ln =~/^[1-6]/
@@seg[:dot_nav]= (@@tracker < @@seg_total-1) \
- ? format_head_seg.dot_control_pre_next \
+ ? format_head_seg.dot_control_pre_next
: format_head_seg.dot_control_pre
end
@@seg[:title]=format_head_seg.head
@@ -311,7 +311,7 @@ WOK
format_head_seg=SiSU_EPUB_Format::Head_seg.new(@md)
if @@tracker < @@seg_total-1
@@segtocband=(@@tracker==0) \
- ? format_head_seg.toc_next2 \
+ ? format_head_seg.toc_next2
: format_head_seg.toc_pre_next2
else @@segtocband=format_head_seg.toc_pre2 #if format_head_seg.toc_pre2
end
@@ -390,7 +390,7 @@ WOK
and dob.hang =~/[0-9]/
if dob.bullet_
(dob.indent =~/[1-9]/) \
- ? sto.format('li',"i#{dob.indent}") \
+ ? sto.format('li',"i#{dob.indent}")
: sto.format('li','bullet')
elsif dob.indent == dob.hang
sto.format('p',"i#{dob.indent}")
@@ -485,7 +485,7 @@ WOK
@@fn=dob.name
else
@@fn=(dob.name =~/\S+/) \
- ? dob.name \
+ ? dob.name
: ''
end
end