]> git.lyx.org Git - lyx.git/commitdiff
Don't show deleted stuff in output.
authorRichard Heck <rgheck@comcast.net>
Wed, 20 Jan 2010 22:42:27 +0000 (22:42 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 20 Jan 2010 22:42:27 +0000 (22:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33124 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp

index ed53d8088cee303c3cd2330e42776a5d86e6f1ca..23d0ca34a4331a8e15023e9d7f7f896f369200ff 100644 (file)
@@ -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