From: Geolim4 Date: Sat, 11 Jul 2015 19:44:23 +0000 (+0200) Subject: Fix #70048: When running a phpinfo(), if you have a very long cell value you got... X-Git-Tag: php-7.1.1RC1~35^2~12^2~4^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c10c47ae1e0aae5c4f0cbe86539ef80ee6701b69;p=php Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow. --- 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");