class Asciidoctor::Table::Cell

def content

Returns the converted String for this Cell

This method should not be used for cells in the head row or that have the literal style.

Public: Handles the body data (tbody, tfoot), applying styles and partitioning into paragraphs
def content
  if (cell_style = @style) == :asciidoc
    @inner_document.convert
  elsif @text.include? DOUBLE_LF
    (text.split BlankLineRx).map do |para|
      cell_style && cell_style != :header ? (Inline.new parent, :quoted, para, type: cell_style).convert : para
    end
  elsif (subbed_text = text).empty?
    []
  elsif cell_style && cell_style != :header
    [(Inline.new parent, :quoted, subbed_text, type: cell_style).convert]
  else
    [subbed_text]
  end
end