diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-23 14:36:53 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-23 14:36:53 +0200 |
commit | 8c3c0c49a98eb8daceb69d0b233d054fbbccc49e (patch) | |
tree | 52dfc1b4abe110580a51ec0c0d056d1044c44151 /lib/coderay/scanners/ruby.rb | |
parent | 7ada74c8f0f77815393e887db83e1d2c36ce7235 (diff) | |
parent | 9651f0b464b6540a1427ea8320abaa01caf197b3 (diff) | |
download | coderay-8c3c0c49a98eb8daceb69d0b233d054fbbccc49e.tar.gz |
Merge branch 'master' into css-in-html
Diffstat (limited to 'lib/coderay/scanners/ruby.rb')
-rw-r--r-- | lib/coderay/scanners/ruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/ruby.rb b/lib/coderay/scanners/ruby.rb index c282f31..80165ca 100644 --- a/lib/coderay/scanners/ruby.rb +++ b/lib/coderay/scanners/ruby.rb @@ -269,7 +269,7 @@ module Scanners end if last_state - state = last_state + state = last_state unless state.is_a?(StringState) # otherwise, a simple 'def"' results in unclosed tokens last_state = nil end |