Skip to content

Commit 15c1a73

Browse files
committed
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
1 parent ac088cd commit 15c1a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ PHPAPI char *php_get_uname(char mode)
633633
PHPAPI void php_print_info_htmlhead(TSRMLS_D)
634634
{
635635
php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
636-
php_info_print("<html>");
636+
php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
637637
php_info_print("<head>\n");
638638
php_info_print_style(TSRMLS_C);
639639
php_info_print("<title>phpinfo()</title>");

0 commit comments

Comments
 (0)