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.rb
    path of file: ./repos/devdocs/lib/docs/filters/modernizr
    
    the code of the file until where you have to start completion: module Docs
  class Modernizr
    class CleanHtmlFilter < Filter
      def call
        css('pre').ea
    
      def call
        css('pre').each do |node|
          class_name = node.at_css('code')['class']
          node['data-language'] = class_name[/lang-(\w+)/, 1] if class_name
          node.content = node.content.strip_heredoc
        end

        css('sub').each do |node|
          node.before(node.children).remove
        end

        css('td:nth-child(2)').each do |node|
          node.name = node.previous_element.name = 'th'
        end

        doc
      end