Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 319x 319x 90x 319x 140x 229x 89x 89x 319x 1x 85x 85x 1x 1x 84x 84x 84x 84x 84x 84x 84x | export function xmlToArray(data: any): any[] {
if (data === undefined) {
return [];
} else if (Array.isArray(data)) {
return data;
} else {
return [data];
}
}
export function unescape(str: string | undefined): string {
if (str === undefined) {
return "";
}
str = str.replace(/&/g, "&");
str = str.replace(/>/g, ">");
str = str.replace(/</g, "<");
str = str.replace(/"/g, "\"");
str = str.replace(/'/g, "'");
return str;
} |