diff --git a/apps/red-ui/src/app/models/file/annotation.wrapper.ts b/apps/red-ui/src/app/models/file/annotation.wrapper.ts index 2e9a6648a..91c88b5bc 100644 --- a/apps/red-ui/src/app/models/file/annotation.wrapper.ts +++ b/apps/red-ui/src/app/models/file/annotation.wrapper.ts @@ -429,6 +429,10 @@ export class AnnotationWrapper implements IListable { } if (entry.reason) { + if (isDocumine && entry.reason.slice(-1) === '.') { + entry.reason = entry.reason.slice(0, -1); + } + content += entry.reason + '\n\n'; //remove leading and trailing commas and whitespaces content = content.replace(/(^[, ]*)|([, ]*$)/g, '');