Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2007 at 07:57 UTC
Updated:
27 Nov 2007 at 12:53 UTC
It seems that for the "Also apply syntax highlighting to <?php ... ?> style PHP source code blocks" setting to display PHP code properly, the opening <?php tag must be a lowercase <?php tag (rather than an uppercase <?PHP tag).
Comments
Comment #1
soxofaan commentedI've never seen the usage of uppercase <?PHP tags in PHP code. The lowercase version is used throughout Drupal core and all contributions I've seen.
The uppercase <?PHP works on my setup however, but I didn't find any pointers that <?PHP is allowed/not allowed.
anyway:
http://drupal.org/cvs?commit=87916
Comment #2
Christefano-oldaccount commentedWow, that was fast. Thanks!
Same here. It was only last night that I came across a post beautified by GeSHi filter that had uppercase
<?phptags. It turned out the snippet was from somewhere else (PHPBuilder).Thanks again.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.