(value)
| 3 | // Prevent formula injection: strings starting with =, +, -, @, tab, or CR are |
| 4 | // formula triggers in spreadsheet software. Prefix with a space to neutralize. |
| 5 | function sanitizeExcelString(value) { |
| 6 | if (typeof value === 'string' && /^[=+\-@\t\r]/.test(value)) { |
| 7 | return ' ' + value; |
| 8 | } |
| 9 | return value; |
| 10 | } |
| 11 | |
| 12 | const BUGS_NOTES_HEADER = [ |
| 13 | 'Component', |
no outgoing calls
no test coverage detected