diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:32:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:32:10 -0400 |
commit | e3330f16f31ccc9cd62d5d1f15e76cec4e45485d (patch) | |
tree | 0b34c877c9dd53f04f8a227cfa75ff5cd3f147aa /lib/sisu/v3/shared_html_lite.rb | |
parent | v3: texpdf, indent ... (diff) |
v3: sql (pg, sqlite), indent ...
Diffstat (limited to 'lib/sisu/v3/shared_html_lite.rb')
-rw-r--r-- | lib/sisu/v3/shared_html_lite.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sisu/v3/shared_html_lite.rb b/lib/sisu/v3/shared_html_lite.rb index fca0cfb8..0dd13a34 100644 --- a/lib/sisu/v3/shared_html_lite.rb +++ b/lib/sisu/v3/shared_html_lite.rb @@ -236,6 +236,12 @@ GSUB h={ txt: txt, class: "indent#{t}", type: 'substantive', id: @ocn } tag_para(h) end + def hang_indent(f,t) + txt=markup_object(@t_o) + h={ txt: txt, class: "hang#{f}indent#{t}", type: 'substantive', id: @ocn } + #h={ txt: txt, class: "h#{f}i#{t}", type: 'substantive', id: @ocn } + tag_para(h) + end def para_table %{<p class="norm" align="left"><font #{@vz.font_small} #{@vz.font_color} #{@vz.font_face}>} end |