Amend dc174db6c1973d1/lyxgit (#12057)

This commit is contained in:
Juergen Spitzmueller 2020-12-27 14:00:30 +01:00
parent c7bc46d707
commit 11740f6fc0

View File

@ -1671,6 +1671,15 @@ void latexParagraphs(Buffer const & buf,
os << '\n' << '\n';
continue;
}
} else {
// This is the last par
Paragraph const & cpar = paragraphs.at(pit);
if (!runparams.for_search && !cpar.empty()
&& cpar.isDeleted(0, cpar.size()) && !bparams.output_changes) {
if (!cpar.parEndChange().deleted())
os << '\n' << '\n';
continue;
}
}
TeXEnvironmentData const data =