```ruby
module Hn
  class Outputter
    def initialize(page, index)
      @page  = page
      @index = index
    end

    def output
      puts "#{@index}) #{@page.title.strip}"
    end
  end
end```

Remove CRs in the middle of the string
user
```ruby
module Hn
  class Outputter
    def initialize(page, index)
      @page  = page
      @index = index
    end

    def output
      puts "#{@index}) #{@page.title.strip.gsub(/\n/, ' ')}"
    end
  end
end```
assistant