diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-08-08 00:34:25 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-08-08 00:36:15 -0400 |
commit | 6bc3b814011e829db684ec96bb3abd1e4abb29c3 (patch) | |
tree | 72d759c1d89a72c4fc5e3c46f6917f69e72699e6 /lib/sisu/v6/xhtml.rb | |
parent | v5: merged v6 libraries (diff) |
v5 v6: extend document structure, headings A - D, 1 - 4
* sql db table structure changed (needs to be rebuilt)
Diffstat (limited to 'lib/sisu/v6/xhtml.rb')
-rw-r--r-- | lib/sisu/v6/xhtml.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v6/xhtml.rb b/lib/sisu/v6/xhtml.rb index ee19a12e..409a2b6c 100644 --- a/lib/sisu/v6/xhtml.rb +++ b/lib/sisu/v6/xhtml.rb @@ -310,8 +310,8 @@ WOK @rcdc=false @level,@cont,@copen,@xml_contents_close=[],[],[],[] xml_head - (0..6).each { |x| @cont[x]=@level[x]=false } - (4..6).each { |x| @xml_contents_close[x]='' } + (0..7).each { |x| @cont[x]=@level[x]=false } + (4..7).each { |x| @xml_contents_close[x]='' } data.each do |dob| dob=@trans.char_enc.utf8(dob) if @sys.locale =~/utf-?8/i #% utf8 dob=@trans.markup(dob) @@ -337,6 +337,7 @@ WOK when 4 then x.heading_body4 when 5 then x.heading_body5 when 6 then x.heading_body6 + when 7 then x.heading_body7 end else if dob.is ==:verse |