diff options
Diffstat (limited to 'lib/coderay/scanners/plaintext.rb')
-rw-r--r-- | lib/coderay/scanners/plaintext.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/coderay/scanners/plaintext.rb b/lib/coderay/scanners/plaintext.rb index a362f0b..6cbb119 100644 --- a/lib/coderay/scanners/plaintext.rb +++ b/lib/coderay/scanners/plaintext.rb @@ -7,7 +7,9 @@ module Scanners title 'Plain text' include Streamable - + + KINDS_NOT_LOC = [:plain] + def scan_tokens tokens, options text = (scan_until(/\z/) || '') tokens << [text, :plain] |