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)
s = node.to_s()
s.gsub!(/\s/,' ')
s.squeeze!(" ")
s = wrap(s, 80-@level)
s = wrap(s, @width-@level)
s = indent_text(s, @level, " ", true)
output << (' '*@level + s)
end
    (1-1/1)