You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: base.rb
    path of file: ./repos/matestack-ui-core/lib/matestack/ui/core
    
    the code of the file until where you have to start completion: require_relative 'tag_helpe
    
        def render_content
          if children.empty?
            child_content = self.escape ? ERB::Util.html_escape(text) : text if text
          else
            # using "\n" in order to preserve the 1.x rendering behavior which impacts appearance in browser
            child_content = (children.map { |child| " \n " + child.render_content }.join + " \n ").html_safe
          end