Skip to content

Commit 9fe7acf

Browse files
authored
Disable HTML rendering on the DDB table renderer (#2708)
1 parent 73a5013 commit 9fe7acf

File tree

1 file changed

+4
-0
lines changed
  • jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamodb/editor

1 file changed

+4
-0
lines changed

jetbrains-core/src/software/aws/toolkits/jetbrains/services/dynamodb/editor/TableResults.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ class TableResults : JBTable(TableModel(BidirectionalMap(), emptyList())) {
5050
}
5151

5252
class TableRenderer : DefaultTableCellRenderer() {
53+
init {
54+
putClientProperty("html.disable", true)
55+
}
56+
5357
override fun getTableCellRendererComponent(table: JTable?, value: Any?, isSelected: Boolean, hasFocus: Boolean, row: Int, column: Int): Component {
5458
val component = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column)
5559
val attribute = value as? DynamoAttribute<*>

0 commit comments

Comments
 (0)