mirror of https://github.com/zlatinb/muwire
simpler sanitization
parent
bb02fdbee9
commit
e195141a27
|
@ -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 : {
|
||||||
|
|
Loading…
Reference in New Issue