diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-02-08 21:28:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-02-08 21:28:12 -0500 |
commit | 0fae8cd0ed8019f41ae4140b13c60e1d887754fd (patch) | |
tree | 5a3af4f98cd91299099481aa12b39d1ad32ac50e /lib/sisu/v1/html_scroll.rb | |
parent | data/doc/sisu/v1/sisu_markup_samples/samples, renaming of dfsg sub-dir (diff) |
html grouped text that is bulleted
Diffstat (limited to 'lib/sisu/v1/html_scroll.rb')
-rw-r--r-- | lib/sisu/v1/html_scroll.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/sisu/v1/html_scroll.rb b/lib/sisu/v1/html_scroll.rb index 0cd34694..e4a14691 100644 --- a/lib/sisu/v1/html_scroll.rb +++ b/lib/sisu/v1/html_scroll.rb @@ -118,7 +118,12 @@ module SiSU_HTML_scroll when /^4:\S+?/; @sto.scroll_lev_para_ocn.heading_body4 # work on see Split_text_object4 when /^5:\S*?/; @sto.scroll_lev_para_ocn.heading_body5 when /^6:\S*?/; @sto.scroll_lev_para_ocn.heading_body6 - when /^#{Mx[:gl_bullet]}/; @sto.scroll_lev_para_ocn.bullet + when /^#{Mx[:gl_bullet]}/ + if para =~/#{Mx[:gr_o]}group#{Mx[:gr_c]}/ + para.gsub!(/#{Mx[:gl_bullet]}/,'● ') #watch + else + @sto.scroll_lev_para_ocn.bullet + end when /^#{Mx[:pa_o]}:i([1-9])#{Mx[:pa_c]}#{Mx[:gl_bullet]}/ #indent with bullet format_txt_obj.gsub_body @sto.scroll_lev_para_ocn.format('li',"i#{$1}") @@ -140,7 +145,9 @@ module SiSU_HTML_scroll end else para end - else para + else + para.gsub!(/#{Mx[:gl_bullet]}/,'● ') #watch + para end elsif para =~/^#{Mx[:lv_o]}[1-9]:/ \ and para !~/#{Mx[:id_o]}~\d+;(?:[oh]|[0-6]:)\d+;\w\d+#{Mx[:id_c]}#{Mx[:id_c]}#@dp:#@dp#{Mx[:id_c]}$/ |