pandoc/test/command/3494.md
John MacFarlane ae60e0196c Add empty_paragraphs extension.
* Deprecate `--strip-empty-paragraphs` option.  Instead we now
  use an `empty_paragraphs` extension that can be enabled on
  the reader or writer.  By default, disabled.

* Add `Ext_empty_paragraphs` constructor to `Extension`.

* Revert "Docx reader: don't strip out empty paragraphs."
  This reverts commit d6c58eb836.

* Implement `empty_paragraphs` extension in docx reader and writer,
  opendocument writer, html reader and writer.

* Add tests for `empty_paragraphs` extension.
2017-12-04 14:56:57 -08:00

1 KiB
Raw Blame History

% pandoc -f latex --quiet
\begin{table}[h!]
\begin{tabular}{r|l|l}

  {\large \textbf{}} && \\
  \textbf{ﺄﺤﺴﻨﺘـ(ﻭﺍ) IV} & \em{ʾaḥsant(ū)} & thank you \\
  \newpage
  \emph{blah} & \emph{blah} & \emph{blah} \\
  blah & blah & blah \\

\end{tabular}
\end{table}
^D
<table>
<tbody>
<tr class="odd">
<td style="text-align: right;"><span><strong></strong></span></td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
</tr>
<tr class="even">
<td style="text-align: right;"><strong>ﺄﺤﺴﻨﺘـ(ﻭﺍ) IV</strong></td>
<td style="text-align: left;"><em><span>ʾaḥsant(ū)</span></em></td>
<td style="text-align: left;">thank you</td>
</tr>
<tr class="odd">
<td style="text-align: right;"><p><em>blah</em></p></td>
<td style="text-align: left;"><em>blah</em></td>
<td style="text-align: left;"><em>blah</em></td>
</tr>
<tr class="even">
<td style="text-align: right;">blah</td>
<td style="text-align: left;">blah</td>
<td style="text-align: left;">blah</td>
</tr>
</tbody>
</table>