#28852 [Csd->Fbk]: Error in HTML code on php.net

From: Date: Tue, 22 Jun 2004 04:20:01 +0000
Subject: #28852 [Csd->Fbk]: Error in HTML code on php.net
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25068@lists.php.net to get a copy of this message
ID: 28852 Updated by: curt@php.net Reported By: mail at morkrid dot com -Status: Closed +Status: Feedback Bug Type: Website problem PHP Version: PHP5 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. I cant seem to find where you're looking at. I've looked at http://www.php.net/manual/en/language.basic-syntax.php and that inline style isn't defined anywhere. Previous Comments: ------------------------------------------------------------------------ [2004-06-20 11:48:25] goba@php.net I have fixed the issue with a simplified patch provided by Nuno. ------------------------------------------------------------------------ [2004-06-20 10:54:27] nlopess@php.net This a mirror specific problem. This mirror has already PHP 5 runninf and the code is PHP 4 only. I'll change the code. For now, you may use other mirror. ------------------------------------------------------------------------ [2004-06-20 10:47:54] mail at morkrid dot com test url is http://at.php.net/manual/en/language.basic-syntax.php ------------------------------------------------------------------------ [2004-06-20 10:44:20] mail at morkrid dot com Description: ------------ in the php manual, the html seems to be incorrect, causing incorrect colors to be rendered (almost unreadable at least on my laptop) taken from the markup just beneath the next "Example 5-1. Ways of escaping from HTML", thf following code appears: <div class="phpcode"><code><span style="color: html"> this must surely be wrong. "color: html" makes no sense, and is probably not even legal. the style sheet indicates: div.phpcode span.html { color: black; } the correct html must surely be: <div class="phpcode"><code><span class="html"> this also applies for the following styles: div.phpcode span.html { color: black; } div.phpcode span.comment { color: #FF8000; } div.phpcode span.default { color: #0000BB; } div.phpcode span.keyword { color: #007700; } div.phpcode span.string { color: #DD0000; } hope this can be fixed asap, as i am reading the manual to learn php, and much of the text is now unreadable because colors and background colors are almost identical. note: in opera (which i use), incorrect colors are displayed. explorer displays just black. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28852&edit=1

« previous php.mirrors (#25068) next »