ts-pdf
ts-pdf copied to clipboard
Do Not Export Deleted Annotations
This push changes one line of document-service's serializeAnnotationsAsync function. Previously this function only checked if the Annotation was recently added if necessary. This means that as published, all annotations are exported, even deleted ones, with no way to tell from the exported content what was deleted.
The line change makes it also check if the AnnotationDict's deleted field is set to false as well before exporting it.