summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--ext/standard/info.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 77fe45f7fe..e495b497ea 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ PHP NEWS
- Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety
on Linux). (Patch: shulmanb at il dot ibm dot com, Jani)
- Fixed bug #35143 (gettimeofday() ignores current time zone). (Derick)
+- Fixed bug #35046 (phpinfo() uses improper css enclosure). (Ilia)
- Fixed bug #33153 (crash in mssql_next result). (Frank)
- Fixed bug #33963 (mssql_bind() fails on input parameters). (Frank)
- Fixed bug #33201 (Crash when fetching some data types). (Frank)
diff --git a/ext/standard/info.c b/ext/standard/info.c
index e8f4042eca..6583bdbe9b 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -203,9 +203,9 @@ static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
*/
void php_info_print_style(TSRMLS_D)
{
- php_printf("<style type=\"text/css\"><!--\n");
+ php_printf("<style type=\"text/css\">\n");
php_info_print_css(TSRMLS_C);
- php_printf("//--></style>\n");
+ php_printf("</style>\n");
}
/* }}} */