com php-src: Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow.: ext/standard/css.c
| From: | Xinchen Hui | Date: | Sat, 11 Jul 2015 19:44:23 +0000 |
| Subject: | com php-src: Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow.: ext/standard/css.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87945@lists.php.net to get a copy of this message | ||
Commit: c10c47ae1e0aae5c4f0cbe86539ef80ee6701b69
Author: Geolim4 <contact@geolim4.com> Sat, 11 Jul 2015 21:44:23 +0200
Parents: 649fd428d991a73e9ddc06e3e06f99ee0430834a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c10c47ae1e0aae5c4f0cbe86539ef80ee6701b69
Log:
Fix #70048: When running a phpinfo(), if you have a very long cell value you got a table overflow.
Bugs:
https://bugs.php.net/70048
Changed paths:
M ext/standard/css.c
Diff:
diff --git a/ext/standard/css.c b/ext/standard/css.c
index b805915..73771ed 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");