diff --git a/src/output_plaintext.C b/src/output_plaintext.C index 4ffc0c6553..e94d5af89c 100644 --- a/src/output_plaintext.C +++ b/src/output_plaintext.C @@ -59,8 +59,10 @@ void writePlaintextFile(Buffer const & buf, odocstream & os, ParagraphList::const_iterator it = beg; for (; it != end; ++it) { writePlaintextParagraph(buf, *it, os, runparams, ref_printed); + os << "\n"; + if (runparams.linelen > 0) + os << "\n"; } - os << "\n"; } @@ -131,9 +133,6 @@ void writePlaintextParagraph(Buffer const & buf, string::size_type currlinelen = 0; - if (runparams.linelen > 0) - os << "\n\n"; - os << docstring(depth * 2, ' '); currlinelen += depth * 2;