diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-12-16 23:19:35 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-12-16 23:46:13 -0500 |
commit | ff4ceb260ae3931072810a0ada124841d3b8e032 (patch) | |
tree | a736b8a7c4d7ce046d23f3cc834619e374f9bf68 /lib/sisu/v2/html_segments.rb | |
parent | dal_syntax, sisu syntax modification (insist on curly braces) (diff) |
document objects: page break; object separator (introduced & used, adjust later)
* object separator introduced
(requested Cory Doctorow, implementation not discussed)
* dal_syntax, object separator syntax (<:---> or <:ols>)
* constants, object separator
* vim syntax highlighting, match object separator
* document objects: page break; object separator
(introduced & used)
* dal, page break and object separator objects
* represent page break and object separator: plaintext, html, epub, odf,
texpdf (adjust later)
Diffstat (limited to 'lib/sisu/v2/html_segments.rb')
-rw-r--r-- | lib/sisu/v2/html_segments.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v2/html_segments.rb b/lib/sisu/v2/html_segments.rb index a516d809..c1649a88 100644 --- a/lib/sisu/v2/html_segments.rb +++ b/lib/sisu/v2/html_segments.rb @@ -357,7 +357,6 @@ module SiSU_HTML_seg end def markup(dob) @debug=[] - dob.obj.gsub!(/(?:\s*#{Mx[:br_page]}\s*|\s*#{Mx[:br_page_new]}\s*)+/m,'') format_head_seg=SiSU_HTML_Format::Head_seg.new(@md) if dob.is !~/meta/ if dob.is =~/(?:heading|para)/ #extend as necessary FIX @@ -398,6 +397,8 @@ module SiSU_HTML_seg sto.code elsif dob.is=='table' sto.table + elsif dob.is=='break' + sto.break end if @md.flag_separate_endnotes dob.obj.gsub!(/"\s+href="#_(\d+)">/,%{" href=\"endnotes#{Sfx[:html]}#_\\1">}) #endnote- twice #removed file type |