summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/encoder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/encoder.rb')
-rw-r--r--lib/coderay/encoders/encoder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/encoder.rb b/lib/coderay/encoders/encoder.rb
index fa5695d..2baeedb 100644
--- a/lib/coderay/encoders/encoder.rb
+++ b/lib/coderay/encoders/encoder.rb
@@ -146,7 +146,7 @@ module CodeRay
end
def get_output options
- options[:out] || ''
+ options[:out] || ''.dup
end
# Append data.to_s to the output. Returns the argument.