mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix tabulary template closing environments in wrong order (refs: #3405)
This commit is contained in:
parent
37f3050933
commit
424041f049
@ -14,6 +14,9 @@
|
||||
<%= ''.join(table.header) %>
|
||||
<%=- ''.join(table.body) %>
|
||||
\end{tabulary}
|
||||
<%- if table.caption %>
|
||||
\end{threeparttable}
|
||||
<%- endif %>
|
||||
<%- if table.align %>
|
||||
<%- if table.align == 'center' -%>
|
||||
\end{center}
|
||||
@ -21,6 +24,3 @@
|
||||
\end{flush<%= table.align%>}
|
||||
<% endif -%>
|
||||
<% endif -%>
|
||||
<%- if table.caption %>
|
||||
\end{threeparttable}
|
||||
<%- endif %>
|
||||
|
Loading…
Reference in New Issue
Block a user