From c10c47ae1e0aae5c4f0cbe86539ef80ee6701b69 Mon Sep 17 00:00:00 2001 From: Geolim4 Date: Sat, 11 Jul 2015 21:44:23 +0200 Subject: [PATCH] Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow. --- ext/standard/css.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/css.c b/ext/standard/css.c index b805915b5e..73771ed79f 100644 --- a/ext/standard/css.c +++ b/ext/standard/css.c @@ -37,7 +37,7 @@ PHPAPI void php_info_print_css(void) /* {{{ */ PUTS(".p {text-align: left;}\n"); PUTS(".e {background-color: #ccf; width: 300px; font-weight: bold;}\n"); PUTS(".h {background-color: #99c; font-weight: bold;}\n"); - PUTS(".v {background-color: #ddd; max-width: 300px; overflow-x: auto;}\n"); + PUTS(".v {background-color: #ddd; max-width: 300px; overflow-x: auto; word-wrap: break-word;}\n"); PUTS(".v i {color: #999;}\n"); PUTS("img {float: right; border: 0;}\n"); PUTS("hr {width: 934px; background-color: #ccc; border: 0; height: 1px;}\n"); -- 2.50.1