1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

Display newlines in column comments (bug #573)

This commit is contained in:
Jakub Vrana
2018-01-22 21:03:48 +01:00
parent c789c147b7
commit 43ccfcef8f
5 changed files with 5 additions and 4 deletions

View File

@@ -267,7 +267,7 @@ class Adminer {
* @return null
*/
function tableStructurePrint($fields) {
echo "<table cellspacing='0'>\n";
echo "<table cellspacing='0' class='nowrap'>\n";
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
foreach ($fields as $field) {
echo "<tr" . odd() . "><th>" . h($field["field"]);