diff --git a/tbl_properties_structure.php b/tbl_properties_structure.php index 1d9ed04ec..b527e57d2 100644 --- a/tbl_properties_structure.php +++ b/tbl_properties_structure.php @@ -170,6 +170,10 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp)) { $tmp[2] = substr(preg_replace('@([^,])\'\'@', '\\1\\\'', ',' . $tmp[2]), 1); $type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')'; + + // for the case ENUM('–','“') + $type = htmlspecialchars($type); + $type_nowrap = ''; $binary = 0;