mirror of https://github.com/zlatinb/muwire
Sanitize more components
parent
9a78157013
commit
d767569a36
|
@ -22,6 +22,7 @@ class PathTreeRenderer extends DefaultTreeCellRenderer {
|
|||
|
||||
def defaultRenderer = super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus)
|
||||
if (userObject == null || userObject instanceof String) {
|
||||
defaultRenderer.setText(HTMLSanitizer.sanitize(userObject?.toString()))
|
||||
return defaultRenderer
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue