diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-22 19:23:04 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-22 19:23:16 -0500 |
commit | 9916bc2ddd1480a3ba35b3a74b766d9acbd34873 (patch) | |
tree | 75d53c4d9e951a26d4057c7a1167c96882d29a94 /lib/sisu/v4/dal_syntax.rb | |
parent | v4: 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/dal_syntax.rb')
-rw-r--r-- | lib/sisu/v4/dal_syntax.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v4/dal_syntax.rb b/lib/sisu/v4/dal_syntax.rb index 069b45ed..eeaca1a5 100644 --- a/lib/sisu/v4/dal_syntax.rb +++ b/lib/sisu/v4/dal_syntax.rb @@ -147,7 +147,8 @@ module SiSU_DAL_Syntax gsub(/ \\\\(?: |$)/,"#{Mx[:br_line]}"). gsub(/(?:<:?pb>)/,"#{Mx[:br_page]}"). # depreciated gsub(/(?:<:?pn>)/,"#{Mx[:br_page_new]}"). # depreciated - gsub(/(?:<:?br>|<br \/>)/,"#{Mx[:br_line]}") # depreciated + gsub(/(?:<:?br>|<br \/>)/,"#{Mx[:br_line]}"). # depreciated + gsub(/(?:^-\.\.-\s*$)/,"#{Mx[:br_page_line]}") end dob end |