]> git.lyx.org Git - features.git/commitdiff
Re-introduce linebreak after caption, as in LyX 1.6 (#8514)
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 May 2013 14:20:00 +0000 (16:20 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 May 2013 14:20:00 +0000 (16:20 +0200)
src/insets/InsetCaption.cpp

index f648362a147efad0ea100299e5c2de421213e41e..ac6624f0055e1fd6bcb2c236dc453b1410ff8805 100644 (file)
@@ -276,6 +276,9 @@ void InsetCaption::latex(otexstream & os,
        // optional argument.
        runparams.moving_arg = !runparams.inTableCell;
        InsetText::latex(os, runparams);
+       // Backwards compatibility: We always had a linebreak after
+       // the caption (see #8514)
+       os << breakln;
        runparams_in.encoding = runparams.encoding;
 }