# File lib/asciidoctor/backends/docbook45.rb, line 163 def result(sec) if sec.special tag = sec.level <= 1 ? sec.sectname : 'section' else tag = sec.document.doctype == 'book' && sec.level <= 1 ? (sec.level == 0 ? 'part' : 'chapter') : 'section' end %Q(<#{tag}#{common_attrs(sec.id, sec.role, sec.reftext)}> #{sec.title? ? "<title>#{sec.title}</title>" : nil} #{sec.content} </#{tag}>) end
# File lib/asciidoctor/backends/docbook45.rb, line 175 def template :invoke_result end