Bug #4498 » ruby-core-bug-4498.patch
| 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
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »