class Phlex::Component

def content(&block)

def content(&block)
  return unless block_given?
  original_length = @_target.length
  output = yield(self) if block_given?
  unchanged = (original_length == @_target.length)
  text(output) if unchanged && output.is_a?(String)
  nil
end