diff options
| author | Ralph Amissah <ralph@amissah.com> | 2010-06-11 21:37:22 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2010-06-11 21:37:22 -0400 | 
| commit | 15a3a15a549853ac0d7c3f1e81a10f9badb9069a (patch) | |
| tree | 552ca2da080356f6583aaca65353c32529ddc0f4 | |
| parent | css (for html), right pane dark, distinguish from selected content (diff) | |
minor (cosmetic, & info retention)
| -rw-r--r-- | lib/sisu/v2/constants.rb | 2 | ||||
| -rw-r--r-- | lib/sisu/v2/xml_tables.rb | 8 | 
2 files changed, 3 insertions, 7 deletions
| diff --git a/lib/sisu/v2/constants.rb b/lib/sisu/v2/constants.rb index 7fc3b056..9eec8370 100644 --- a/lib/sisu/v2/constants.rb +++ b/lib/sisu/v2/constants.rb @@ -110,7 +110,7 @@ Rx[:lv],Rx[:lv_1],Rx[:lv_2],Rx[:lv_3],Rx[:lv_4],Rx[:lv_5],Rx[:lv_6],Rx[:lv_7],Rx  Rx[:meta]=/#{Mx[:meta_o]}(\S+?)#{Mx[:meta_c]}/  Dx[:url_o]='‹';   Dx[:url_c]='›'  Dx[:url_o_xml]='<';   Dx[:url_c_xml]='>' -Dx[:rel_o]='‹';   Dx[:rel_c]='›' +Dx[:rel_o]='‹';   Dx[:rel_c]='›' # Dx[:rel_o]='「';   Dx[:rel_c]='」'  Tex[:backslash]="\\\\"  Tex[:backslash]="\\\\"  Tex[:tilde]='\\\\\\~' diff --git a/lib/sisu/v2/xml_tables.rb b/lib/sisu/v2/xml_tables.rb index f5b2845c..71bcb37e 100644 --- a/lib/sisu/v2/xml_tables.rb +++ b/lib/sisu/v2/xml_tables.rb @@ -142,9 +142,7 @@ module SiSU_Tables  #{tablefoot}}      end      def table_row(inf,h=false) -      bold=if h; '<b>' -      else       '' -      end +      bold=h ? '<b>' : ''        %{  <tr>    <td width="#{inf}%" valign="top">#{bold}} @@ -155,9 +153,7 @@ module SiSU_Tables        end      end      def table_row_close(h=false) -      bold_close=if h; '</b>' -      else             '' -      end +      bold_close=h ? '<b>' : ''        "#{bold_close}</td></tr>"      end      def table | 
