aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/html_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-01-31 18:43:17 -0500
committerRalph Amissah <ralph@amissah.com>2013-01-31 18:43:17 -0500
commitfb6abb03ac0cfa136afbe1ca0471c14f9bbb52b4 (patch)
treea857c02804a50ceddee02d7769cdef533cc66d46 /lib/sisu/v4/html_segments.rb
parentv4: epub, constants, debug alternative for various readers ... work on (diff)
v4 v3: dal (obj), html, br_page* behavior in html depending on origin of break
* markup specified v auto
Diffstat (limited to 'lib/sisu/v4/html_segments.rb')
-rw-r--r--lib/sisu/v4/html_segments.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v4/html_segments.rb b/lib/sisu/v4/html_segments.rb
index 5a110b41..543dc209 100644
--- a/lib/sisu/v4/html_segments.rb
+++ b/lib/sisu/v4/html_segments.rb
@@ -474,7 +474,9 @@ module SiSU_HTML_Seg
sto.code
elsif dob.is==:table
sto.table
- elsif dob.is==:break
+ elsif dob.is==:break \
+ and dob.from==:markup
+ '<p><hr width=90% /></p>'
end
if @md.flag_separate_endnotes
dob.obj=dob.obj.gsub(/"\s+href="#_(\d+)">/,%{" href=\"endnotes#{Sfx[:html]}#_\\1">}) #endnote- twice #removed file type