simpler sanitization

This commit is contained in:
Zlatin Balevsky
2019-06-04 17:58:19 +01:00
parent bb02fdbee9
commit e195141a27

View File

@@ -185,8 +185,7 @@ class MainFrameView {
table(id : "searches-table") {
tableModel(list : model.searches) {
closureColumn(header : "Keywords", type : String, read : {
def sanitized = String.replaceAll(Constants.SPLIT_PATTERN,it.search)
sanitized = sanitized.replace("<", " ")
sanitized = it.search.replace('<', ' ')
sanitized
})
closureColumn(header : "From", type : String, read : {