From 9d34c408a77c6ef447aaabb7c4c31f69fc0c82a8 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph@amissah.com>
Date: Mon, 19 Apr 2010 20:45:46 -0400
Subject: shared_html_lite, markup heading objects

---
 lib/sisu/v2/shared_html_lite.rb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'lib')

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
-- 
cgit v1.2.3