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/zammad/lib/html_sanitizer
    
    the code of the file until where you have to start completion: # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/

class HtmlSanitizer
  class Base
    def with_timeou
    
    def loop_string(string, scrubber)
      string = Loofah.fragment(string).scrub!(scrubber).to_html
      old_string = string

      loop do
        string = Loofah.fragment(string).scrub!(scrubber).to_html
        break if string == old_string

        old_string = string
      end

      string
    end