# File lib/maruku/input/parse_block.rb, line 558
  def split_cells(s, allowBlank = false)
    if allowBlank
      if /^[|].*[|]$/ =~ s # handle the simple and decorated table cases
        s.split('|', -1)[1..-2]   # allow blank cells, but only keep the inner elements of the cells
      elsif /^.*[|]$/ =~ s
        s.split('|', -1)[0..-2]   # allow blank cells, but only keep the inner elements of the cells
      else
        s.split('|', -1)
      end
    else
      s.split('|').reject(&:empty?).map(&:strip)
    end
  end