diff --git a/ChangeLog b/ChangeLog
index e527fdd11..bb76cabab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -61,6 +61,8 @@ danbarry
thanks to Norman Hippert
- [structure] do not remove the BINARY attribute in drop-down
- bug #1955386 [session] Overriding session.hash_bits_per_character
+- [interface] sanitize the table comments in table print view,
+ thanks to Norman Hippert
2.11.6.0 (2008-04-29)
- bug #1903724 [interface] Displaying of very large queries in error message
diff --git a/tbl_printview.php b/tbl_printview.php
index 3dc914ca9..4ebda1f65 100644
--- a/tbl_printview.php
+++ b/tbl_printview.php
@@ -140,7 +140,7 @@ foreach ($the_tables as $key => $table) {
* Displays the comments of the table if MySQL >= 3.23
*/
if (!empty($show_comment)) {
- echo $strTableComments . ': ' . $show_comment . '
';
+ echo $strTableComments . ': ' . htmlspecialchars($show_comment) . '
';
}
/**