diff options
| author | Ralph Amissah <ralph@amissah.com> | 2010-04-19 20:45:46 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2010-04-19 20:45:46 -0400 | 
| commit | 9d34c408a77c6ef447aaabb7c4c31f69fc0c82a8 (patch) | |
| tree | e99a7945889418aa66024d3dd766e9527efbe9a9 /lib | |
| parent | db_select, check for whether db exists before attempting certain actions (diff) | |
shared_html_lite, markup heading objects
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sisu/v2/shared_html_lite.rb | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/lib/sisu/v2/shared_html_lite.rb b/lib/sisu/v2/shared_html_lite.rb index a972e379..6303691b 100644 --- a/lib/sisu/v2/shared_html_lite.rb +++ b/lib/sisu/v2/shared_html_lite.rb @@ -188,11 +188,13 @@ GSUB        tag_para(h)      end      def lev4_plus -      h={:txt =>@txt,:class =>"h#{@lv}",:type =>'substantive',:id =>@ocn,:header =>@hname} +      txt=markup_object(@t_o) +      h={:txt =>txt,:class =>"h#{@lv}",:type =>'substantive',:id =>@ocn,:header =>@hname}        tag_header(h)      end      def lev4_minus -      h={:txt =>@t_o.obj,:class =>"h#{@t_o.ln}",:type =>'substantive',:id =>@t_o.ocn} +      txt=markup_object(@t_o) +      h={:txt =>txt,:class =>"h#{@t_o.ln}",:type =>'substantive',:id =>@ocn}        tag_para(h)      end      def norm_comment | 
