Method: IsoDoc::Function::Lists#dt_parse
- Defined in:
- lib/isodoc/function/lists.rb
#dt_parse(dterm, term) ⇒ Object
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/isodoc/function/lists.rb', line 65 def dt_parse(dterm, term) if dterm.elements.empty? # term.p **attr_code(class: note? ? "Note" : nil) do |p| term.p do |p| p << dterm.text end else dterm.children.each { |n| parse(n, term) } end end |