Preserve line spacing when breaking a paragraph at the beginning.

(cherry picked from commit f7065fa22e)
This commit is contained in:
Richard Kimberly Heck 2020-04-08 16:40:39 -04:00
parent 97516cf2f4
commit 1264934898
2 changed files with 4 additions and 0 deletions

View File

@ -693,6 +693,7 @@ static void breakParagraph(Text & text, pit_type par_offset, pos_type pos,
tmp->params().depth(par.params().depth()); tmp->params().depth(par.params().depth());
tmp->params().noindent(par.params().noindent()); tmp->params().noindent(par.params().noindent());
tmp->params().spacing(par.params().spacing());
// move everything behind the break position // move everything behind the break position
// to the new paragraph // to the new paragraph

View File

@ -95,6 +95,9 @@ What's new
- Disallow adding columns with gathered environment as this is not - Disallow adding columns with gathered environment as this is not
supported (bug 11812). supported (bug 11812).
- Preserve paragarph spacing when breaking a paragraph at the start
(bug 11817).
* INTERNALS * INTERNALS