aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v1/html_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-02-08 21:28:12 -0500
committerRalph Amissah <ralph@amissah.com>2010-02-08 21:28:12 -0500
commit0fae8cd0ed8019f41ae4140b13c60e1d887754fd (patch)
tree5a3af4f98cd91299099481aa12b39d1ad32ac50e /lib/sisu/v1/html_segments.rb
parentdata/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_segments.rb')
-rw-r--r--lib/sisu/v1/html_segments.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sisu/v1/html_segments.rb b/lib/sisu/v1/html_segments.rb
index 66e04800..2b54447a 100644
--- a/lib/sisu/v1/html_segments.rb
+++ b/lib/sisu/v1/html_segments.rb
@@ -354,7 +354,8 @@ module SiSU_HTML_seg
para=format_seg.no_paranum
end
end
- if para[/#{Mx[:id_o]}~(\d+;(?:[ohmu]|[0-6]:)\d+;\w\d+#{Mx[:id_c]}#{Mx[:id_o]}#@dp:#@dp)#{Mx[:id_c]}$/]
+ m=/#{Mx[:id_o]}~(\d+;(?:[ohmu]|[0-6]:)\d+;\w\d+#{Mx[:id_c]}#{Mx[:id_o]}#@dp:#@dp)#{Mx[:id_c]}$/
+ if para =~m
@sto=SiSU_HTML::Source::Split_text_object.new(@md,para).html_seg
if @sto.format =~/i[1-9]|ordinary/ #watch
txt_obj={:txt =>@sto.text}
@@ -393,7 +394,9 @@ module SiSU_HTML_seg
@sto=nil
table=SiSU_HTML_shared::Table.new(para)
para=table.table
- else @sto=nil
+ else
+ para.gsub!(/#{Mx[:gl_bullet]}/,'●&nbsp;&nbsp;') #watch
+ @sto=nil
end
if @md.flag_separate_endnotes
para.gsub!(/"\s+href="#_(\d+)">/,%{" href=\"endnotes#{Sfx[:html]}#_\\1">}) #endnote- twice #removed file type