Skip to content

Commit 4805338

Browse files
committed
fix: TT-392 Exclude from reports tags </> in the Ticket column
1 parent bbbc297 commit 4805338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
100100

101101
bodyExportOptions(data, row, column, node){
102102
// NOSONAR
103-
const dataFormated = data.toString().replace(/<((.|\n)*?)>/gi, '');
103+
const dataFormated = data.toString().replace(/<((.|\n){0,200}?)>/gi, '');
104104
const durationColumnIndex = 3;
105105
return column === durationColumnIndex ? moment.duration(dataFormated).asHours().toFixed(2) : dataFormated;
106106
}

0 commit comments

Comments
 (0)