Preserve line spacing when breaking a paragraph at the beginning.
This commit is contained in:
Richard Kimberly Heck 2020-04-08 16:40:39 -04:00
parent 0536193c22
commit f7065fa22e

View File

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