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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sweede at insightbb dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC