server: Omit needless escapeFormat().
This commit is contained in:
parent
2fc7a7c191
commit
500b930ae3
|
@ -480,10 +480,7 @@ function escapeFormat(t) {
|
||||||
function sixHex(s) { return /^[0-9a-fA-F]{6}$/.test(s); }
|
function sixHex(s) { return /^[0-9a-fA-F]{6}$/.test(s); }
|
||||||
|
|
||||||
function getLabel(label, data) {
|
function getLabel(label, data) {
|
||||||
if (data.label) {
|
return data.label || label;
|
||||||
return escapeFormat(data.label);
|
|
||||||
}
|
|
||||||
return label;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeSend(format, askres, end) {
|
function makeSend(format, askres, end) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user