class Asciidoctor::Converter::DocBook5Converter

def convert_section node

def convert_section node
  if node.document.doctype == 'manpage'
    tag_name = MANPAGE_SECTION_TAGS[tag_name = node.sectname] || tag_name
  else
    tag_name = node.sectname
  end
  title_el = node.special && ((node.option? 'notitle') || (node.option? 'untitled')) ? '' : %(<title>#{node.title}</title>\n)
  %(<#{tag_name}#{common_attributes node.id, node.role, node.reftext}>
title_el}#{node.content}
#{tag_name}>)
end