Fix #1580: Paragraphs in longtable don't work in Latex output

This commit is contained in:
Takeshi KOMIYA 2016-01-07 14:15:34 +09:00
parent c100089334
commit 2be21e340e
2 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ Bugs fixed
* #1820: On Windows, console coloring is broken with colorama version 0.3.3.
Now sphinx use colorama>=0.3.5 to avoid this problem.
* #2072: Fix footnotes in chapter-titles do not appear in PDF output
* #1580: Fix paragraphs in longtable don't work in Latex output
Release 1.3.3 (released Dec 2, 2015)
====================================

View File

@ -1209,6 +1209,8 @@ class LaTeXTranslator(nodes.NodeVisitor):
def visit_paragraph(self, node):
self.body.append('\n')
if self.table:
self.table.has_problematic = True
def depart_paragraph(self, node):
self.body.append('\n')