fix tabulary template closing environments in wrong order (refs: #3405)

This commit is contained in:
jfbu 2017-02-11 09:21:56 +01:00
parent 37f3050933
commit 424041f049

View File

@ -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 %>