This file is indexed.

/usr/lib/ruby/vendor_ruby/wikicloth/extensions/poem.rb is in ruby-wikicloth 0.8.1+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
module WikiCloth
  class PoemExtension < Extension

    # <poem>poem content (to preserve spacing)</poem>
    #
    element 'poem' do |buffer|
      buffer.element_content.gsub!(/\A\n/,"") # remove new line at beginning of string
      buffer.element_content.gsub!(/\n\z/,"") # remove new line at end of string
      buffer.element_content.gsub!(/^\s+/) { |m| "&nbsp;" * m.length } # replace all spaces at beginning of line with &nbsp;
      buffer.element_content.gsub!(/\n/,'<br />') # replace all new lines with <br />
      "<div class=\"poem\">#{buffer.element_content}</div>"
    end

  end
end