mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Correctly show merged paragraphs with ct in plain text output
Fixes #3137
This commit is contained in:
parent
c096382beb
commit
117e63b01b
@ -56,9 +56,11 @@ void writePlaintextFile(Buffer const & buf, odocstream & os,
|
|||||||
ParagraphList::const_iterator end = par.end();
|
ParagraphList::const_iterator end = par.end();
|
||||||
ParagraphList::const_iterator it = beg;
|
ParagraphList::const_iterator it = beg;
|
||||||
for (; it != end; ++it) {
|
for (; it != end; ++it) {
|
||||||
|
bool const merged_par = (*it).parEndChange().deleted();
|
||||||
writePlaintextParagraph(buf, *it, os, runparams, ref_printed);
|
writePlaintextParagraph(buf, *it, os, runparams, ref_printed);
|
||||||
os << "\n";
|
if (!merged_par)
|
||||||
if (runparams.linelen > 0)
|
os << "\n";
|
||||||
|
if (runparams.linelen > 0 && !merged_par)
|
||||||
os << "\n";
|
os << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user