aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/plaintext.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-02-22 19:23:04 -0500
committerRalph Amissah <ralph@amissah.com>2013-02-22 19:23:16 -0500
commit9916bc2ddd1480a3ba35b3a74b766d9acbd34873 (patch)
tree75d53c4d9e951a26d4057c7a1167c96882d29a94 /lib/sisu/v4/plaintext.rb
parentv4: version & changelog (diff)
v4: dal, markup: line across page divider -..- introduced
* an alternative to page breaks -\\- & =\\=, significantly affects pdf & odf * output formats modified to include (pdf, odf, epub, html, plaintext)
Diffstat (limited to 'lib/sisu/v4/plaintext.rb')
-rw-r--r--lib/sisu/v4/plaintext.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v4/plaintext.rb b/lib/sisu/v4/plaintext.rb
index 9bbc799c..b916f081 100644
--- a/lib/sisu/v4/plaintext.rb
+++ b/lib/sisu/v4/plaintext.rb
@@ -363,7 +363,8 @@ WOK
sp=' '
ln='-'
@plaintext[:body] <<=if dob.obj==Mx[:br_page] \
- or dob.obj==Mx[:br_page_new]
+ or dob.obj==Mx[:br_page_new] \
+ or dob.obj==Mx[:br_page_line]
"#{@br}#{ln*40}#{@br*2}"
elsif dob.obj ==Mx[:br_obj]
"#{@br}#{sp*20}* * *#{@br*2}"