summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-08-19 09:59:47 +0000
committerPierre Joye <pajoye@php.net>2011-08-19 09:59:47 +0000
commit5f429c57e9c3e849b58c48973f393036739bcbd7 (patch)
treedb781b710dd1bd464ec751a052134a7648e5ff6f
parentdad2c33838c815e02900165babfc4de01a954feb (diff)
downloadphp-git-5f429c57e9c3e849b58c48973f393036739bcbd7.tar.gz
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
-rw-r--r--NEWS6
-rw-r--r--ext/standard/info.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index ec11a15185..3af9487fda 100644
--- 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)
diff --git a/ext/standard/info.c b/ext/standard/info.c
index f57e4afab3..ae5be6213e 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -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>");