php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #21505 Source view not HTML 4.01 valid code
Submitted: 2003-01-07 21:55 UTC Modified: 2014-12-30 10:41 UTC
From: sweede at insightbb dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.3.0 OS: Any
Private report: No CVE-ID: None
 [2003-01-07 21:55 UTC] sweede at insightbb dot com
I have created a small patch that changes Zend/zend_highlight.c to include proper DOCTYPE, <html>, body and other page composition tags.

I also changed from the deprecated <font> to <span> and CSS

I currently use this on my local gentoo development server and have provided a patch at 
http://www.sourcereview.net/patches/zend_highlight_valid_html.diff

apply patch in the top level source directory

Bjorn
sweede@insightbb.com

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-16 16:25 UTC] levim@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues
 [2014-04-16 16:25 UTC] levim@php.net
I think the idea is that you can use it in a standalone document if you want to, or as part of another file. This is why it doesn't send the headers.
 [2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 15:01:28 2024 UTC