Force closing and reopening of \lyxdeleted after deleted
display math so that the following deleted text can be
correctly striked out.
This commit is contained in:
Enrico Forestieri 2020-01-27 11:18:19 +01:00
parent ad56c71dce
commit 15949fc99a
2 changed files with 10 additions and 0 deletions

View File

@ -2747,6 +2747,14 @@ void Paragraph::latex(BufferParams const & bparams,
runningChange, style, i, column);
if (incremented)
--parInline;
if (deleted_display_math) {
// Close \lyxdeleted and force its
// reopening (if needed)
os << '}';
column++;
runningChange = Change(Change::UNCHANGED);
}
}
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
try {

View File

@ -49,6 +49,8 @@ What's new
- Fix erroneous space in output caused by changebar module (bug 11473).
- Correctly strike out deleted text after deleted display math (bug 11716).
* USER INTERFACE