Skip to content
Browse files

Avoid double escaping

  • Loading branch information...
1 parent d3b67a3 commit 9fc6e35cfd1d8270d943f5577807a3c79f5c6168 @nijel nijel committed with lem9 Jun 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tbl_structure.php
View
2 tbl_structure.php
@@ -252,7 +252,7 @@
// for the case ENUM('–','“')
$type = htmlspecialchars($type);
if(strlen($type) > $GLOBALS['cfg']['LimitChars']) {
- $type = '<abbr title="' . htmlspecialchars($type) . '">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>';
+ $type = '<abbr title="' . $type . '">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>';
}
$type_nowrap = '';

0 comments on commit 9fc6e35

Please sign in to comment.
Something went wrong with that request. Please try again.