diff options
author | murphy <murphy@rubychan.de> | 2010-06-15 13:01:06 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-06-15 13:01:06 +0000 |
commit | 20b51acc327d148eaf8a31c5ceae5f80806dceb2 (patch) | |
tree | 14ab30f6d18d8d0a3d5e4b6baa88e3b1e11209a6 /lib | |
parent | 2ca36302b5cf81f80119c1e560fbd4ef5d4548d6 (diff) | |
download | coderay-20b51acc327d148eaf8a31c5ceae5f80806dceb2.tar.gz |
Fixed PHP scanner: strings should always be groups.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/coderay/scanners/php.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/php.rb b/lib/coderay/scanners/php.rb index 67bb233..6f3c237 100644 --- a/lib/coderay/scanners/php.rb +++ b/lib/coderay/scanners/php.rb @@ -461,7 +461,7 @@ module Scanners states.push :php encoder.text_token match, :delimiter else - encoder.text_token match, :string + encoder.text_token match, :content end elsif match = scan(/\$\{#{RE::IDENTIFIER}\}/o) encoder.text_token match, :local_variable |