From 20b51acc327d148eaf8a31c5ceae5f80806dceb2 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 15 Jun 2010 13:01:06 +0000 Subject: Fixed PHP scanner: strings should always be groups. --- lib/coderay/scanners/php.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/scanners/php.rb') 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 -- cgit v1.2.1