From 9916bc2ddd1480a3ba35b3a74b766d9acbd34873 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 22 Feb 2013 19:23:04 -0500 Subject: 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) --- lib/sisu/v4/dal_syntax.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v4/dal_syntax.rb') 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>|
)/,"#{Mx[:br_line]}") # depreciated + gsub(/(?:<:?br>|
)/,"#{Mx[:br_line]}"). # depreciated + gsub(/(?:^-\.\.-\s*$)/,"#{Mx[:br_page_line]}") end dob end -- cgit v1.2.3