aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-03-12 10:57:19 -0500
committerRalph Amissah <ralph@amissah.com>2010-03-12 10:57:19 -0500
commit93817753b2dc0143c78b3b1522d658cfde5bc331 (patch)
treeee94709c86a8ecd132a99d3afe26835eed4c2e47 /lib/sisu/v2/dal_doc_str.rb
parentvim syntax highlight, minor addition (diff)
html tables fix (in html_segments, an erroneous assignment where there should have been comparison)
Diffstat (limited to 'lib/sisu/v2/dal_doc_str.rb')
-rw-r--r--lib/sisu/v2/dal_doc_str.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_doc_str.rb b/lib/sisu/v2/dal_doc_str.rb
index 88ddaec9..dc9a55b7 100644
--- a/lib/sisu/v2/dal_doc_str.rb
+++ b/lib/sisu/v2/dal_doc_str.rb
@@ -234,7 +234,7 @@ module SiSU_document_structure_extract
@h={:head_=>heading,:cols=>cols,:widths=>col,:idx=>idx}
elsif t_o=~/^\{table(?:~h)?(?:\s+\d+;?)?\}\n.+\Z/m
m1,m2,hd=nil,nil,nil
- tbl= /^\{table(?:~h)?(?:\s+\d+;?)?\}\n(.+)\Z/m.match(t_o)[1] #two table representations should be consolidated as one
+ tbl=/^\{table(?:~h)?(?:\s+\d+;?)?\}\n(.+)\Z/m.match(t_o)[1] #two table representations should be consolidated as one
hd=((t_o =~/^\{table~h/) ? true : false)
tbl,tags=extract_tags(tbl)
rws=tbl.split(/\n/)