Method: IsoDoc::Function::Cleanup#figure_get_or_make_dl
- Defined in:
- lib/isodoc/function/cleanup.rb
#figure_get_or_make_dl(t) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/isodoc/function/cleanup.rb', line 30 def figure_get_or_make_dl(t) dl = t.at(".//dl") if dl.nil? t.add_child("<p><b>#{@key_lbl}</b></p><dl></dl>") dl = t.at(".//dl") end dl end |