##// END OF EJS Templates
Extract parsing of inline attachments, wiki links and redmine links....
Extract parsing of inline attachments, wiki links and redmine links. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3588 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2965:4e3202d2a2c5
r3474:a179f261cde4
Show More
plaintext.rb
18 lines | 255 B | text/x-ruby | RubyLexer
module CodeRay
module Scanners
class Plaintext < Scanner
register_for :plaintext, :plain
include Streamable
def scan_tokens tokens, options
text = (scan_until(/\z/) || '')
tokens << [text, :plain]
end
end
end
end