Skip to content

Commit

Permalink
Bug 742899 - <CAPTION> inside <TABLE> no longer works for LaTex output
Browse files Browse the repository at this point in the history
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 0599f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexdocvisitor.cpp
Expand Up @@ -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 *)
Expand Down

0 comments on commit 0599f92

Please sign in to comment.