]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.cpp
DocBook: fix handling of footnotes.
[lyx.git] / src / insets / InsetText.cpp
index 819c87d6a6bef5511f1ed8693e22719b85abd532..95d55b765b1c187d52bc0127d228c852e785019e 100644 (file)
@@ -711,7 +711,7 @@ void InsetText::docbook(XMLStream & xs, OutputParams const & rp, XHTMLOptions op
        // No need for labels that are generated from counters. They should be handled by the external DocBook processor.
 
        // With respect to XHTML, paragraphs are still allowed here.
-       if (!allowMultiPar())
+       if (runparams.docbook_consider_allow_multi_par && !allowMultiPar())
                runparams.docbook_make_pars = false;
        if (il.isPassThru())
                runparams.pass_thru = true;