CYKLO-984: simplified & corrected newline character recognition
CYKLO-985: fixed attachment data access problem
CYKLO-986: prevent NPE when deleting attachments
Merge branch 'dev' for release 2.26.5
release 2.26.5