When encrypted .MD.JENC files are decrypted with version 0.3.2 of jpencconverter, line breaks are not handled properly
This issue is experienced with encrypted Markdown documents that have the extension ".md.jenc". The documents were originally created and encrypted in Markor on a Google Pixel 3 (Android 12, GrapheneOS custom OS) before being transferred to a Windows PC. Once on the Windows PC, version 0.3.2 of jpencconverter was used to decrypt the documents.
When the files are initially created in Markor, pairs of line breaks are used in the documents in order to separate text with a blank line. This is in order to keep long text files easily readable. For example, a pair of lines separated this paragraph from the last one... ...but only a single line break was used to separate this sentence portion from the rest. As you may know, Markdown formatting treats single line breaks as spaces, and doesn't place following text on a new line.
That aside, when encrypted Markdown documents with pairs of line breaks are decrypted, only single line breaks are retained in the decrypted documents. For example, if the text above was encrypted and decrypted by jpencconverter, it would look like this in a text editor:
And would display like this with Markdown formatting:
This issue is experienced with encrypted Markdown documents that have the extension ".md.jenc". The documents were originally created and encrypted in Markor on a Google Pixel 3 (Android 12, GrapheneOS custom OS) before being transferred to a Windows PC. Once on the Windows PC, version 0.3.2 of jpencconverter was used to decrypt the documents. When the files are initially created in Markor, pairs of line breaks are used in the documents in order to separate text with a blank line. This is in order to keep long text files easily readable. For example, a pair of lines separated this paragraph from the last one... ...but only a single line break was used to separate this sentence portion from the rest. As you may know, Markdown treats single line breaks as spaces, and doesn't place following text on a new line.
This is an issue because long encrypted documents that are originally broken up by lines that are meant to be blank lose their readability once decrypted. This issue does not occur the other way around; when plaintext Markdown documents are encrypted with jpencconverter, all pairs of double line breaks are retained in the encrypted document, as observed in the Markor app.
