From 162d21e3c32abdd3250c2a2772524e1f9219d9ac Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Tue, 26 Jul 2011 23:19:24 +0200 Subject: PHP scanner should not scan the whole document for HTML/PHP indicators --- lib/coderay/scanners/php.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/coderay/scanners/php.rb') diff --git a/lib/coderay/scanners/php.rb b/lib/coderay/scanners/php.rb index 8ec1196..c290dab 100644 --- a/lib/coderay/scanners/php.rb +++ b/lib/coderay/scanners/php.rb @@ -234,8 +234,8 @@ module Scanners def scan_tokens encoder, options if check(RE::PHP_START) || # starts with