empty paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39153
a592a061-630c-0410-9148-
cb99ea01b6c8
Layout const & style = *d->layout_;
- xs.startParagraph();
+ xs.startParagraph(allowEmpty());
if (!runparams.for_toc && runparams.html_make_pars) {
// generate a magic label for this paragraph
return true;
curtag = tag_stack_.back();
}
-
+
if (curtag.tag_ == parsep_tag)
return true;
}
-void XHTMLStream::startParagraph()
+void XHTMLStream::startParagraph(bool keep_empty)
{
pending_tags_.push_back(html::StartTag(parsep_tag));
+ if (keep_empty)
+ clearTagDeque();
}
bool closeFontTags();
/// call at start of paragraph. sets a mark so we know what tags
/// to close at the end.
- void startParagraph();
+ void startParagraph(bool keep_empty);
/// call at end of paragraph to clear that mark. note that this
/// will also close any tags still open.
void endParagraph();
- Fixed XHTML output for tables that use multirow.
+- Fix problem with XHTML output of blank paragraph (bug 7634).
+
- Fixed export to plaintext of, as well as searching within,
a document containing aligned and other multi-cell environments
(bug 7549).