simpler sanitization
This commit is contained in:
@@ -185,8 +185,7 @@ class MainFrameView {
|
|||||||
table(id : "searches-table") {
|
table(id : "searches-table") {
|
||||||
tableModel(list : model.searches) {
|
tableModel(list : model.searches) {
|
||||||
closureColumn(header : "Keywords", type : String, read : {
|
closureColumn(header : "Keywords", type : String, read : {
|
||||||
def sanitized = String.replaceAll(Constants.SPLIT_PATTERN,it.search)
|
sanitized = it.search.replace('<', ' ')
|
||||||
sanitized = sanitized.replace("<", " ")
|
|
||||||
sanitized
|
sanitized
|
||||||
})
|
})
|
||||||
closureColumn(header : "From", type : String, read : {
|
closureColumn(header : "From", type : String, read : {
|
||||||
|
|||||||
Reference in New Issue
Block a user