aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/html_table.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-02-05 23:50:34 +0000
committerRalph Amissah <ralph@amissah.com>2008-02-05 23:50:34 +0000
commitad21750ba3c44303d0c2ad91269771605612a8e6 (patch)
treefb1c5ce2737a1cf04069e409563e20540dcea9ff /lib/sisu/v0/html_table.rb
parentUpdated sisu-0.64.2 (diff)
parentversion rolled back, not ready to open ruby 1.9 some libraries not yet available (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/html_table.rb')
-rw-r--r--lib/sisu/v0/html_table.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/sisu/v0/html_table.rb b/lib/sisu/v0/html_table.rb
index 12d02407..1ac39daf 100644
--- a/lib/sisu/v0/html_table.rb
+++ b/lib/sisu/v0/html_table.rb
@@ -101,8 +101,8 @@ module SiSU_HTML_table
m=@parablock[/<!f(.+?)!>/,1]
@@tablefoot << m if m
@parablock.gsub!(/<!f.+?!>/,'')
- @@tablehead=1 if @parablock =~/<!Th¡/
- if @parablock =~/<!Th?¡.+?!~(\d+);\w\d+;\w\d+>/; @parablock=table_head($1)
+ @@tablehead=1 if @parablock =~/<!Th¡/u
+ if @parablock =~/<!Th?¡.+?!~(\d+);\w\d+;\w\d+>/u; @parablock=table_head($1)
end
if @parablock =~/<!TZ!>/
tablefoot=[]
@@ -112,12 +112,12 @@ module SiSU_HTML_table
end
end
if @@tablehead == 1
- if @parablock =~/¡¡/
- if @parablock =~/<!¡¡(\d+?)¡/
- @parablock.gsub!(/<!¡¡(\d+?)¡/,table_row($1,true))
+ if @parablock =~/¡¡/u
+ if @parablock =~/<!¡¡(\d+?)¡/u
+ @parablock.gsub!(/<!¡¡(\d+?)¡/u,table_row($1,true))
end
- if @parablock =~/¡¡(\d+?)¡/
- @parablock.gsub!(/¡¡(\d+?)¡/,table_cell($1,true))
+ if @parablock =~/¡¡(\d+?)¡/u
+ @parablock.gsub!(/¡¡(\d+?)¡/u,table_cell($1,true))
end
if @parablock =~/!>/
@parablock.gsub!(/!>/,table_row_close(true))
@@ -126,11 +126,11 @@ module SiSU_HTML_table
end
@parablock
else
- if @parablock =~/<!¡¡(\d+?)¡/
- @parablock.gsub!(/<!¡¡(\d+?)¡/,table_row($1))
+ if @parablock =~/<!¡¡(\d+?)¡/u
+ @parablock.gsub!(/<!¡¡(\d+?)¡/u,table_row($1))
end
- if @parablock =~/¡¡(\d+?)¡/
- @parablock.gsub!(/¡¡(\d+?)¡/,table_cell($1))
+ if @parablock =~/¡¡(\d+?)¡/u
+ @parablock.gsub!(/¡¡(\d+?)¡/u,table_cell($1))
end
if @parablock =~/!>/
@parablock.gsub!(/!>/,table_row_close)