From 4390d8e3ef5e373533fe890c791435fea52b6387 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 20 Jan 2010 22:42:27 +0000 Subject: [PATCH] Don't show deleted stuff in output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33124 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index ed53d8088c..23d0ca34a4 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2422,6 +2422,10 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, // parsing main loop for (pos_type i = initial; i < size(); ++i) { + // let's not show deleted material in the output + if (isDeleted(i)) + continue; + Font font = getFont(buf.params(), i, outerfont); // emphasis -- 2.39.5