def close_script_style
      tag = @tag_stack.last

      # See http://www.w3.org/TR/xhtml1/#C_4 for character sequences not allowed within an element body.
      if @already =~ /<|&|\]\]>|--/
        new_already = script_style_cdata_start(tag)
        new_already << "\n" unless @already.start_with?("\n")
        new_already << @already
        new_already << "\n" unless @already.end_with?("\n")
        new_already << script_style_cdata_end(tag)
        @already = new_already
      end
      @before_already << @already
      @already = @before_already
    end
def close_script_style
      tag = @tag_stack.last

      # See http://www.w3.org/TR/xhtml1/#C_4 for character sequences not allowed within an element body.
      if @already =~ /<|&|\]\]>|--/
        new_already = script_style_cdata_start(tag)
        new_already << "\n" unless @already.start_with?("\n")
        new_already << @already
        new_already << "\n" unless @already.end_with?("\n")
        new_already << script_style_cdata_end(tag)
        @already = new_already
      end
      @before_already << @already
      @already = @before_already
    end
Finish script or style tag content, wrapping it in CDATA if necessary,
 and add it to our original @already buffer.