diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:28:27 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:31:48 -0400 |
commit | 14b5f96494f79b75e3e77844561678c793d0caa6 (patch) | |
tree | 11fca7cbe115634564254e6b7926ad24cd98c6f8 /lib/sisu/v6/html_lite_shared.rb | |
parent | v5 v6: --act provides info on current --act0 to --act9 settings (diff) |
v5 v6: html, tiny first nudge toward html5 (v5 v6 differ)
* document headers, other minor
Diffstat (limited to 'lib/sisu/v6/html_lite_shared.rb')
-rw-r--r-- | lib/sisu/v6/html_lite_shared.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v6/html_lite_shared.rb b/lib/sisu/v6/html_lite_shared.rb index 7249ba31..dc54fdb9 100644 --- a/lib/sisu/v6/html_lite_shared.rb +++ b/lib/sisu/v6/html_lite_shared.rb @@ -104,7 +104,7 @@ module SiSU_FormatShared w=%{width="#{w}"} if w h=%{height="#{h}"} if h c=m[/"(.+?)"/m,1] - caption=%{<br /><p class="caption">#{c}</p>} if c + caption=%{<br><p class="caption">#{c}</p>} if c png=m.scan(/\S+/)[0] ins=if u \ and u.strip !~/^image$/ @@ -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}} |