| 377 | clidata: string[] = [], |
| 378 | tabFix: RegExp = new RegExp(`^((${tab.replace(/\\/g, "\\")})+)`), |
| 379 | noTab = function diffview_report_noTab(str : string[]): string[]{ |
| 380 | let b: number = 0; |
| 381 | const strLen: number = str.length, |
| 382 | output: string[] = []; |
| 383 | if (strLen < 1) { |
| 384 | return output; |
| 385 | } |
| 386 | do { |
| 387 | output.push(str[b].replace(tabFix, "")); |
| 388 | b = b + 1; |
| 389 | } while (b < strLen); |
| 390 | return output; |
| 391 | }, |
| 392 | htmlfix = function diffview_report_htmlfix(item:string): string { |
| 393 | return item |
| 394 | .replace(/&/g, "&") |