summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/encoder.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2017-09-03 10:05:35 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2017-09-03 10:05:35 +0200
commit3b557a61ce6b3e5773df8e899bd0b1b8c7745415 (patch)
tree511685caddad87779f9d87eb8f04535367b23bf8 /lib/coderay/encoders/encoder.rb
parent0bea645c30a10b0e0c2949d629ec0d1932861c90 (diff)
parent66c5d02defe0f215754c1252d5ab61434c313b32 (diff)
downloadcoderay-3b557a61ce6b3e5773df8e899bd0b1b8c7745415.tar.gz
Merge branch 'master' of github.com:rubychan/coderay
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.