There are cases where word documents show paragraph breaks with a whiteline but the resulting txt file users a single \n character, so there are no whitelines between paragraphs. Using \n\n would match the original document better.
This seemingly happens when word makes whitelines between paragraphs with styling, so there is only a single return.
It is not an acceptable solution to replace every \n in the output with \n\n as this would cause unexpected results.
There are cases where word documents show paragraph breaks with a whiteline but the resulting txt file users a single
\n
character, so there are no whitelines between paragraphs. Using\n\n
would match the original document better.This seemingly happens when word makes whitelines between paragraphs with styling, so there is only a single return.
It is not an acceptable solution to replace every
\n
in the output with\n\n
as this would cause unexpected results.