#22853 [NEW]: phpinfo() builds invalid XHTML code
From: rabus at users dot sourceforge dot net
Operating system: Red Hat Linux 8.0
PHP version: 5CVS-2003-03-24 (dev)
PHP Bug Type: Unknown/Other Function
Bug description: phpinfo() builds invalid XHTML code
I know, this is a rather small bug, but nevertheless php should go with
W3C's specifications imho.
I compiled php as Apache 2 module.
When calling my phpinfo() script, the generated HTML code contains the
following line:
<h2><a name="module_Apache 2.0">Apache 2.0</a></h2>
W3C's HTML validator bothers about this line and says, 'value of attribute
"name" must be a single token'.
As far as I can see, the problem is the whitespace between "module_Apache"
and "2.0".
Happy fixing :-)
--
Edit bug report at http://bugs.php.net/?id=22853&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22853&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22853&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22853&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22853&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22853&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22853&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22853&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22853&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22853&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22853&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22853&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22853&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22853&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22853&r=gnused
Thread (2 messages)
- rabus at users dot sourceforge dot net