Project

General

Profile

Backport #4497 ยป ruby-core-bug-4497.patch

PATCH - Bug 4497 - mfrasca (Michael Frasca), 03/14/2011 03:03 AM

View differences:

lib/rexml/formatters/pretty.rb (working copy)
87 87
        s = node.to_s()
88 88
        s.gsub!(/\s/,' ')
89 89
        s.squeeze!(" ")
90
        s = wrap(s, 80-@level)
90
        s = wrap(s, @width-@level)
91 91
        s = indent_text(s, @level, " ", true)
92 92
        output << (' '*@level + s)
93 93
      end