Method: IsoDoc::Function::Cleanup#figure_get_or_make_dl
- Defined in:
- lib/isodoc/function/cleanup.rb
#figure_get_or_make_dl(t) ⇒ Object
81 82 83 84 85 86 87 88 |
# File 'lib/isodoc/function/cleanup.rb', line 81 def figure_get_or_make_dl(t) dl = t.at(".//dl") if dl.nil? t.add_child("<p><b>#{@i18n.key}</b></p><dl></dl>") dl = t.at(".//dl") end dl end |