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: clean_html_old.rb
    path of file: ./repos/devdocs/lib/docs/filters/chef
    
    the code of the file until where you have to start completion: module Docs
  class Chef
    class CleanHtmlOldFilter < Filter
      def call
        @doc = at_css('div[role="main"]')

        css('.headerlink').remove

        css('em', 'div.align-center', 'a[href$=".svg"]').each do |
    
      def call
        @doc = at_css('div[role="main"]')

        css('.headerlink').remove

        css('em', 'div.align-center', 'a[href$=".svg"]').each do |node|
          node.before(node.children).remove
        end

        css('.section').each do |node|
          node.first_element_child['id'] = node['id'] if node['id']
          node.before(node.children).remove
        end

        css('tt').each do |node|
          node.content = node.content.strip
          node.name = 'code'
        end

        css('table[border]').each do |node|
          node.remove_attribute('border')
        end

        css('div[class*="highlight-"]').each do |node|
          node.content = node.content.strip
          node.name = 'pre'
          node['data-language'] = node['class'][/highlight\-(\w+)/, 1]
        end

        doc
      end