freebsd-ports/lang/ruby18/files/patch-lib_rexml_document.rb
Stanislav Sedov 3d86af7e4a - Fix a typo in the bundled REXML package.
- Bump up portrevision.

Approved by:	portmgr (marcus)
Reported by:	mat
2007-12-04 12:26:07 +00:00

11 lines
441 B
Ruby

--- lib/rexml/document.rb.orig 2007-12-04 03:05:22.000000000 +0300
+++ lib/rexml/document.rb 2007-12-04 03:05:26.000000000 +0300
@@ -183,7 +183,7 @@
output = Output.new( output, xml_decl.encoding )
end
formatter = if indent > -1
- if transitive
+ if trans
REXML::Formatters::Transitive.new( indent, ie_hack )
else
REXML::Formatters::Pretty.new( indent, ie_hack )