]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
DocBook: force paragraphs in HTML cells to allow for nested tables.
[lyx.git] / src / insets / InsetTabular.cpp
index 87bfe6fc69dc91b9f8f8a608fae7dfeb3f29ad1e..ec2a7a303abb435a5e20d90191910d5014b724e6 100644 (file)
@@ -3611,8 +3611,11 @@ void Tabular::docbookRowAsHTML(XMLStream & xs, row_type row,
                else if (isMultiRow(cell))
                        attr << " rowspan='" << rowSpan(cell) << "'";
 
+               OutputParams rp = runparams;
+               rp.docbook_in_par = false;
+               rp.docbook_force_pars = true;
                xs << xml::StartTag(celltag, attr.str(), true);
-               cellInset(cell)->docbook(xs, runparams);
+               cellInset(cell)->docbook(xs, rp);
                xs << xml::EndTag(celltag);
                xs << xml::CR();
                ++cell;