Permalink
Browse files

Bug 742899 - <CAPTION> inside <TABLE> no longer works for LaTex output

This is a regression for bug: Bug 732768 - nested html tables cause pdflatex to hang (1.8.4 and 1.8.6).
  • Loading branch information...
albert-github committed Jan 14, 2015
1 parent 081e3a9 commit 0599f92d06ff433446f34136ffe2f3d65d6bd109
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/latexdocvisitor.cpp
View
@@ -932,7 +932,7 @@ void LatexDocVisitor::visitPost(DocHtmlTable *t)
void LatexDocVisitor::visitPre(DocHtmlCaption *c)
{
if (m_hide) return;
m_t << "\\end{" << getTableName(c->parent()) << "}\n\\centering\n\\caption{";
m_t << "\\end{" << getTableName(c->parent()->parent()) << "}\n\\centering\n\\caption{";
}
void LatexDocVisitor::visitPost(DocHtmlCaption *)

0 comments on commit 0599f92

Please sign in to comment.