From 93817753b2dc0143c78b3b1522d658cfde5bc331 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 12 Mar 2010 10:57:19 -0500 Subject: html tables fix (in html_segments, an erroneous assignment where there should have been comparison) --- lib/sisu/v2/dal_doc_str.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/v2/dal_doc_str.rb') 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/) -- cgit v1.2.3