diff options
Diffstat (limited to 'lib/coderay/encoder.rb')
-rw-r--r-- | lib/coderay/encoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb index e543c8c..ced0f6c 100644 --- a/lib/coderay/encoder.rb +++ b/lib/coderay/encoder.rb @@ -140,7 +140,7 @@ module CodeRay else raise 'Unknown token text type: %p' % text end - @out << out if @out + @out << out if defined?(@out) && @out end def text_token text, kind |