bug #1736405 Pretty printer and HTML line breaks

This commit is contained in:
Marc Delisle
2007-06-26 12:52:36 +00:00
parent 1a083a80e8
commit 7dbb4e7a82
2 changed files with 2 additions and 1 deletions

View File

@@ -1407,7 +1407,7 @@ if (typeof(window.parent) != 'undefined'
$max_characters = 1000;
if (! defined('PMA_QUERY_TOO_BIG') && strlen($query_base) > $max_characters) {
define('PMA_QUERY_TOO_BIG',1);
$query_base = htmlspecialchars($sql_query);
$query_base = nl2br(htmlspecialchars($sql_query));
}
// Parse SQL if needed