php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56120 Change the colours for code highlighting
Submitted: 2004-07-04 15:17 UTC Modified: 2004-10-30 05:56 UTC
From: jellybob at gmail dot com Assigned: mj (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jellybob at gmail dot com
New email:
PHP Version: OS:

 

 [2004-07-04 15:17 UTC] jellybob at gmail dot com
Description:
------------
In the phpdoc generated API docs code blocks are hard to read because of the font colours merging into the background colour.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-26 12:46 UTC] danielc at analysisandsolutions dot com
Can you please provide a sample URI?

This most likely has to do with the behavior of phpDocumentor and/or PHP's code highlighting functions.
 [2004-08-03 01:17 UTC] danielc at analysisandsolutions dot com
Jon, your feedback will be appreciated.
 [2004-08-03 01:24 UTC] helgi at trance dot is
http://pear.php.net/package/LiveUser/docs/0.12.0/LiveUser/LiveUser_Admin.html
the code that is within ' ' get some light green color which is not very readable.
 [2004-08-03 01:37 UTC] danielc at analysisandsolutions dot com
I'm assigning this from me to Martin.

I have a hunch the color scheme is set by phpDocumentor.  But he'll know for sure.
 [2004-10-29 16:22 UTC] helgi at trance dot is
Had a talk with Greg on irc about this issue and this is what he said:

[@CelloG] Martin needs to edit the options.ini file that is in his template
[@CelloG] it's not a code issue
[@CelloG] or, if the options.ini uses CSS (and it should)
[@CelloG] then he just needs to edit the .css file
[@CelloG] there's nothing hard-coded in phpDocumentor about output
[@CelloG] just the data that goes into it

Hope this will speed up the 'fixing' of this issue ;)
 [2004-10-30 05:56 UTC] mj@php.net
The surrounding HTML tag has been changed from 

<font color="#cc6666"></font>

to

<span class="encapsed_string"></span>. (The CSS class does not exist, but this way we gain some "backwards compatibility".)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 15:01:29 2024 UTC