diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php index a574f115..afc28e76 100644 --- a/adminer/include/html.inc.php +++ b/adminer/include/html.inc.php @@ -306,7 +306,7 @@ function input($field, $value, $function, $autofocus = false) { $attrs .= " cols='50' rows='12'"; } else { $rows = min(12, substr_count($value, "\n") + 1); - $attrs .= " cols='30' rows='$rows'" . ($rows == 1 ? " style='height: 1.2em;'" : ""); // 1.2em - line-height + $attrs .= " cols='30' rows='$rows'"; } echo "" . h($value) . ''; } else { diff --git a/plugins/edit-textarea.php b/plugins/edit-textarea.php index e3abcb09..9cceeb4e 100644 --- a/plugins/edit-textarea.php +++ b/plugins/edit-textarea.php @@ -10,7 +10,7 @@ class AdminerEditTextarea { function editInput($table, $field, $attrs, $value) { if (preg_match('~char~', $field["type"])) { - return "'; + return "'; } } }