./lib/coderay/scanners/ruby.rb in coderay-0.9.7 vs ./lib/coderay/scanners/ruby.rb in coderay-0.9.8.pre

- old
+ new

@@ -54,10 +54,10 @@ match = nil kind = nil if state.instance_of? patterns::StringState # {{{ - match = scan_until(state.pattern) || scan_until(/\z/) + match = scan_until(state.pattern) || scan_rest tokens << [match, :content] unless match.empty? break if eos? if state.heredoc and self[1] # end of heredoc match = getch.to_s