There is a comment within cTAKESPanel which states
// remove initial new line characters from
// returned XTIKA content.
This covers removing new lines at the beginning of the document. As the current presentation medium for a document is one large page/panel (with no distinction between pages anymore) we should also remove new lines (\n) at the end of documents as well.
There is a comment within cTAKESPanel which states
This covers removing new lines at the beginning of the document. As the current presentation medium for a document is one large page/panel (with no distinction between pages anymore) we should also remove new lines (\n) at the end of documents as well.