summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/xml.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-06-09 10:15:46 +0000
committermurphy <murphy@rubychan.de>2009-06-09 10:15:46 +0000
commit31d3cce3b7a81f988800e2e8aa66b7b85826f348 (patch)
tree4d4f2749278ea7e2006ae8f8bebd4b4d077cf2ea /lib/coderay/encoders/xml.rb
parent7f62e450f4c5d7688133fecd10572cb0c54e6dce (diff)
downloadcoderay-31d3cce3b7a81f988800e2e8aa66b7b85826f348.tar.gz
Fixed XML Encoder; closes #94.
Diffstat (limited to 'lib/coderay/encoders/xml.rb')
-rw-r--r--lib/coderay/encoders/xml.rb2
1 files changed, 1 insertions, 1 deletions
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