summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2014-01-23 22:26:25 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2014-01-23 22:26:25 +0100
commitccf15c5c5dd7b33ee475b03b905be93c6c7eb627 (patch)
tree25adf7c040eb8aaebb2c577ff824d96e3949578d
parentee76cc5df42af385743d81ec0810073b7c9ed465 (diff)
downloadcoderay-ccf15c5c5dd7b33ee475b03b905be93c6c7eb627.tar.gz
fixing wrong token type
-rw-r--r--lib/coderay/scanners/bash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/bash.rb b/lib/coderay/scanners/bash.rb
index bf87a5e..a9b506e 100644
--- a/lib/coderay/scanners/bash.rb
+++ b/lib/coderay/scanners/bash.rb
@@ -76,7 +76,7 @@ module CodeRay module Scanners
kind = match = nil
if match = scan(/\n/)
- encoder.text_token(match, :end_line)
+ encoder.text_token(match, :space)
next
end