diff --git a/ChangeLog b/ChangeLog
index f1a6f611b..1a88deba9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -80,7 +80,7 @@ danbarry
- [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
+ db print view and db data dictionary, thanks to Norman Hippert
- bug #1939031 Auto_Increment selected for TimeStamp by Default
- patch #1957998 [display] No tilde for InnoDB row counter when we know
it for sure, thanks to Vladyslav Bakayev - dandy76
diff --git a/db_datadict.php b/db_datadict.php
index 6409ebef8..18086bb16 100644
--- a/db_datadict.php
+++ b/db_datadict.php
@@ -164,7 +164,7 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) {
* Displays the comments of the table if MySQL >= 3.23
*/
if (!empty($show_comment)) {
- echo $strTableComments . ': ' . $show_comment . '
';
+ echo $strTableComments . ': ' . htmlspecialchars($show_comment) . '
';
}
/**
diff --git a/db_printview.php b/db_printview.php
index ed9baac80..9b53f0cb4 100644
--- a/db_printview.php
+++ b/db_printview.php
@@ -166,7 +166,7 @@ else {