Method: IsoDoc::Function::Lists#dt_parse
- Defined in:
- lib/isodoc/function/lists.rb
#dt_parse(dt, term) ⇒ Object
50 51 52 53 54 55 56 57 58 59 |
# File 'lib/isodoc/function/lists.rb', line 50 def dt_parse(dt, term) if dt.elements.empty? #term.p **attr_code(class: note? ? "Note" : nil) do |p| term.p do |p| p << dt.text end else dt.children.each { |n| parse(n, term) } end end |