]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.C
fix reading the author field.
[lyx.git] / src / output_plaintext.C
index d29f5024ed2607a611d197ca18aaa9f57a0a9292..d0da1d04dc56c3310efd38fc54b6169842dce883 100644 (file)
@@ -206,7 +206,9 @@ void asciiParagraph(Buffer const & buf,
                                currlinelen += word.length();
                                word.erase();
                        }
-                       if (inset->plaintext(buf, os, runparams)) {
+                       OutputParams rp = runparams;
+                       rp.depth = par.params().depth();
+                       if (inset->plaintext(buf, os, rp)) {
                                // to be sure it breaks paragraph
                                currlinelen += runparams.linelen;
                        }