Example: http://drupalcode.org/viewvc/drupal/contributions/modules/ctools/include...

Nearly every punctuation character has a very odd and very distracting red border around it. Maybe the code colorizer doesn't recognize .inc files as PHP (same markup view is fine on .module and .install files).

Comments

neclimdul’s picture

Actually, it's fine on .module and .install but they aren't colorized like .php files so if we can just standardize all that at once that'd be pretty cool.

avpaderno’s picture

The only files that are colorized correctly are the files with extension php.

Files with extension module, and install are rendered as plain text files, and that should be fixed as well.
Files with extension inc are the worst files. Those red boxes are like a fist in my eyes; apart that, the rest of the file is not rendered correctly too (in 'type' => $element['#dependency_type'], type is rendered in bold and green, like if the word would not be even inside quotation marks).

damien tournoud’s picture

Status: Active » Needs review

We need to change the mime mapping of our files. Putting this ViewVC's mimetypes.conf should do the trick:

text/x-php php module inc install profile theme engine test
neclimdul’s picture

Figured it was something like that. So... who do we poke to look at this and give it a shot?

damien tournoud’s picture

Status: Needs review » Fixed

That was done on Thursday :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Component: CVS » Other