# File lib/cucumber/formatter/pdf.rb, line 167 def before_py_string(string) return if @hide_this_step s = %{"""\n#{string}\n"""}.indent(10) s = s.split("\n").map{|l| l =~ /^\s+$/ ? '' : l} s.each do |line| line.gsub!('<', '<') line.gsub!('>', '>') keep_with { @doc.text line, :size => 8 } end end