diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:34:20 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:34:20 -0400 |
commit | 46485232482fdcb385f8dda5f01cad57f7add189 (patch) | |
tree | 47a8c7b064b1bde461587e0722bacd953012e7c1 /lib/sisu/v5/html_lite_shared.rb | |
parent | v5: html, reduce difference with v6 (removal of some trailing slashes <p> <br>) (diff) |
v5: html, reduce difference with v6 (mostly removal of bgcolor)
* note: html_format.rb has differences, else same
Diffstat (limited to 'lib/sisu/v5/html_lite_shared.rb')
-rw-r--r-- | lib/sisu/v5/html_lite_shared.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/html_lite_shared.rb b/lib/sisu/v5/html_lite_shared.rb index d766b54c..35eb130e 100644 --- a/lib/sisu/v5/html_lite_shared.rb +++ b/lib/sisu/v5/html_lite_shared.rb @@ -265,7 +265,7 @@ GSUB parablock=parablock.gsub(/<!f.+?!>/,'') @@tablehead=1 if parablock =~/#{Mx[:gr_o]}Th#{Mx[:tc_p]}/u parablock=parablock.gsub(/#{Mx[:gr_o]}Th?#{Mx[:tc_p]}.+?#{Mx[:tc_p]}~(\d+)#{Mx[:gr_c]}/, - %{<table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center">}) + %{<table summary="normal text css" width="100%" border="0" cellpadding="2" align="center">}) if parablock =~/#{Mx[:gr_o]}TZ#{Mx[:gr_c]}/ tablefoot=[] @@tablefoot.each {|x| tablefoot << %{<p align="center"><font size=2><i>#{x}</i></font></p>\n}} |