aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/dal_doc_str_tables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/dal_doc_str_tables.rb')
-rw-r--r--lib/sisu/v0/dal_doc_str_tables.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/sisu/v0/dal_doc_str_tables.rb b/lib/sisu/v0/dal_doc_str_tables.rb
index 52b53e4f..d1ba776a 100644
--- a/lib/sisu/v0/dal_doc_str_tables.rb
+++ b/lib/sisu/v0/dal_doc_str_tables.rb
@@ -31,9 +31,12 @@
If you have Internet connection, the latest version of the GPL should be
available at these locations:
- <http://www.fsf.org/licenses/gpl.html>
+ <http://www.fsf.org/licensing/licenses/gpl.html>
<http://www.gnu.org/copyleft/gpl.html>
- <http://www.jus.uio.no/sisu/gpl.fsf>
+
+ <http://www.jus.uio.no/sisu/gpl.fsf/toc.html>
+ <http://www.jus.uio.no/sisu/gpl.fsf/doc.html>
+ <http://www.jus.uio.no/sisu/gpl.fsf/plain.txt>
* SiSU uses:
* Standard SiSU markup syntax,
@@ -80,8 +83,8 @@ module SiSU_document_structure_tables
@row[count]=row.split(/\|/)
end
@row.compact!
- widths=if @row[0].to_s =~/^\{(?:t|table)(?:~h)?\s+\d+;/
- col_width=@row[0].to_s.scan(/\d+/)
+ widths=if @row[0].join =~/^\{(?:t|table)(?:~h)?\s+\d+;/
+ col_width=@row[0].join.scan(/\d+/)
rem=(100 - col_width[0].to_i)
col_w=rem/(@row[1].length - 1)
"#{col_width[0].to_s};" + ("#{col_w};" * (@row[1].length-1))