simpler sanitization

pull/4/head
Zlatin Balevsky 2019-06-04 17:58:19 +01:00
parent bb02fdbee9
commit e195141a27
1 changed files with 1 additions and 2 deletions

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 : {