From 0616c8fe329d79a914a5944dc2a42b98cdcec990 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 18 May 2014 17:34:11 +0200 Subject: [PATCH] Disregard font properties changes when inserting a separator. This allows to output a simple blank line instead of strange constructs. --- src/Text3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Text3.cpp b/src/Text3.cpp index 286d5bb7dc..b12f09478d 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1089,6 +1089,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) lyx::dispatch(FuncRequest(LFUN_SEPARATOR_INSERT, "parbreak")); breakParagraph(cur); } + Font const f(inherit_font, cur.current_font.language()); + pars_[cur.pit() - 1].resetFonts(f); } else { breakParagraph(cur, cmd.argument() == "inverse"); } -- 2.39.5