| 554 | "xml" |
| 555 | ], |
| 556 | tab = function mode_diffhtmlTab(indentation:number):string { |
| 557 | const tabout:string[] = (options.crlf === true) |
| 558 | ? ["\r\n"] |
| 559 | : ["\n"]; |
| 560 | let a:number = 0, |
| 561 | b:number = options.indent_size * indentation; |
| 562 | if (b > 1) { |
| 563 | do { |
| 564 | tabout.push(options.indent_char); |
| 565 | a = a + 1; |
| 566 | } while (a < b); |
| 567 | } else { |
| 568 | tabout.push(options.indent_char); |
| 569 | tabout.push(options.indent_char); |
| 570 | } |
| 571 | return tabout.join(""); |
| 572 | }, |
| 573 | css:string[] = [ |
| 574 | `${tab(2)}<style type="text/css">`, |
| 575 | "#prettydiff_summary{background:#eef8ff;border:2px solid #069}", |