aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/epub_segments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/epub_segments.rb')
-rw-r--r--lib/sisu/v2/epub_segments.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v2/epub_segments.rb b/lib/sisu/v2/epub_segments.rb
index 4edcc93b..a09aebe3 100644
--- a/lib/sisu/v2/epub_segments.rb
+++ b/lib/sisu/v2/epub_segments.rb
@@ -357,7 +357,6 @@ WOK
end
def markup(dob)
@debug=[]
- dob.obj.gsub!(/(?:\s*#{Mx[:br_page]}\s*|\s*#{Mx[:br_page_new]}\s*)+/m,'')
format_head_seg=SiSU_EPUB_Format::Head_seg.new(@md)
if dob.is =~/(?:heading|para)/ #extend as necessary FIX
@p_num=SiSU_EPUB_Format::Paragraph_number.new(@md,dob.ocn)
@@ -392,6 +391,8 @@ WOK
sto.code
elsif dob.is=='table'
sto.table
+ elsif dob.is=='break'
+ sto.break
end
if @md.flag_separate_endnotes # may need to revisit, check
dob.obj.gsub!(/"\s+href="#note_ref(\d+)">/,%{" href=\"endnotes#{Sfx[:epub_xhtml]}#note_ref\\1">}) #endnote- twice #removed file type