Skip to content

Commit 243eb06

Browse files
author
Gavin Kistner
committed
Plain content is :plain, not :content
1 parent 9cfd255 commit 243eb06

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/coderay/scanners/lua.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def scan_tokens(tokens, options)
150150

151151
add_boring = ->(fluff) do
152152
fluff.scan(/((\s+)|(\S+))/).each do |text,ws,nws|
153-
tokens.text_token(text, ws ? :space : :content)
153+
tokens.text_token(text, ws ? :space : :plain)
154154
end
155155
end
156156

lib/coderay/token_kinds.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module CodeRay
7676
:eyecatcher => 'eyecatcher',
7777

7878
:ident => false,
79-
:operator => false,
79+
:operator => 'operator',
8080

8181
:space => false,
8282
:plain => false

lib/coderay/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CodeRay
2-
VERSION = '1.0.9'
2+
VERSION = '1.0.9.1'
33
end

0 commit comments

Comments
 (0)