php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46931 html code error in the template of theme
Submitted: 2008-12-23 05:33 UTC Modified: 2008-12-24 01:56 UTC
From: haohappy@php.net Assigned:
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
 [2008-12-23 05:33 UTC] haohappy@php.net
Description:
------------
A blank page shows when browsing some doc files in Microsoft IE browser. That's because the PhD use a wrong format of template for generation HTML pages.


Reproduce code:
---------------
In the file phd/themes/php/chunkedhtml.php, there are two lines of code as below:
<title>$title</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

Expected result:
----------------
These codes should be changed to:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$title</title>

We need to put the meta info before the <title>, then the IE can always recognize the charset correctly.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-23 05:39 UTC] haohappy@php.net
change some words.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 08:01:27 2024 UTC