From 31d3cce3b7a81f988800e2e8aa66b7b85826f348 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 9 Jun 2009 10:15:46 +0000 Subject: Fixed XML Encoder; closes #94. --- lib/coderay/encoders/xml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders/xml.rb') diff --git a/lib/coderay/encoders/xml.rb b/lib/coderay/encoders/xml.rb index 33964dc..f32c967 100644 --- a/lib/coderay/encoders/xml.rb +++ b/lib/coderay/encoders/xml.rb @@ -29,7 +29,7 @@ module Encoders end def finish options - # FIXME: broken! + @out = '' @doc.write @out, options[:pretty], options[:transitive], true @out end -- cgit v1.2.1