XHTML fix
This commit is contained in:
@@ -14,6 +14,8 @@ $Source$
|
||||
2002-09-11 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* libraries/config_import.lib.php3: Another fix against bug #582890.
|
||||
* lang/german-*.inc.php3: Updates.
|
||||
* libraries/sqlparser.lib.php3: XHTML fix (nl2br is not XHTML compilant
|
||||
before PHP 4.0.5).
|
||||
|
||||
2002-09-10: Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* libraries/common.lib.php3, main.php3:
|
||||
|
@@ -113,7 +113,7 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) {
|
||||
if (PMA_PHP_INT_VERSION >= 40001 && @function_exists('gzcompress')) {
|
||||
$encodedstr = gzcompress($debugstr, 9);
|
||||
}
|
||||
$encodedstr = nl2br(chunk_split(base64_encode($encodedstr)));
|
||||
$encodedstr = preg_replace("/(\015\012)|(\015)|(\012)/", '<br />' . "\n", chunk_split(base64_encode($encodedstr)));
|
||||
|
||||
echo $GLOBALS['strSQLParserBugMessage'] . '<br />' . "\n"
|
||||
. '----' . $GLOBALS['strBeginCut'] . '----' . '<br />' . "\n"
|
||||
|
Reference in New Issue
Block a user