Closed alexandrevez closed 11 years ago
So why not use the PHP scanner?
Because it's mostly javascript and HTML in the file.
Okay, but the PHP scanner already supports HTML with JavaScript…
Can you please check if 'phtml' => :php,
does what you want? :-)
Yep it works great.
Sorry for the delays
Alexandre Vézina
On Sun, Apr 7, 2013 at 5:34 AM, Kornelius Kalnbach <notifications@github.com
wrote:
Can you please check if 'phtml' => :php, does what you want? :-)
— Reply to this email directly or view it on GitHubhttps://github.com/rubychan/coderay/pull/122#issuecomment-16012172 .
Okay, great! I'll merge the PR when you update it accordingly.
Done
In most cases, phtml files are html/javascripts with small PHP content.
I regesitered the filetype.