]> granicus.if.org Git - php/commitdiff
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
authorPierre Joye <pajoye@php.net>
Fri, 19 Aug 2011 09:59:47 +0000 (09:59 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 19 Aug 2011 09:59:47 +0000 (09:59 +0000)
NEWS
ext/standard/info.c

diff --git a/NEWS b/NEWS
index ec11a15185a326ae908b4f58ec29b3cf578cfb49..3af9487fdaf8e96550a429407352433e1eb3bba4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,8 +6,10 @@ PHP                                                                        NEWS
   . Turn on html_errors by default again in php.ini-production like it was in
     PHP 5.3, but only generate docref links when the docref_root INI setting is
     not empty.
-- Fixed bug #55378: Binary number literal returns float number though its value
-  is small enough. (Derick)
+  . Fixed bug #55378: Binary number literal returns float number though its value
+    is small enough. (Derick)
+  . Fixed bug #52461 (Incomplete doctype and missing xmlns). 
+    (virsacer at web dot de, Pierre)
 
 - Improved mbstring extension:
   . Added Shift_JIS Emoji (pictograms) support. (rui)
index f57e4afab39e681196ae20b0a701fc9a389c136f..ae5be6213e5e7237f3fe836fa5cc45be0599e111 100644 (file)
@@ -633,7 +633,7 @@ PHPAPI char *php_get_uname(char mode)
 PHPAPI void php_print_info_htmlhead(TSRMLS_D)
 {
        php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
-       php_info_print("<html>");
+       php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
        php_info_print("<head>\n");
        php_info_print_style(TSRMLS_C);
        php_info_print("<title>phpinfo()</title>");