[Pkg-haskell-maintainers] Bug#772962: pandoc: HTML table conversion fairly broken

John MacFarlane jgm at berkeley.edu
Fri Dec 12 16:15:16 UTC 2014


This regression was fixed in the 1.13 release. Here is the patch that fixes it:
https://github.com/jgm/pandoc/commit/31fd843133ee9482b6af353a7d793cae18929425

It would be great if this patch could be applied to debian's package.  And even better if debian could package 1.13.1!

+++ Manfred Stock [Dec 12 14 15:58 ]:
>Package: pandoc
>Version: 1.12.4.2~dfsg-1+b14
>Severity: normal
>
>Dear Maintainer,
>
>I recently tried the gitit-wiki from testing to see if HTML table handling will
>be better than in the version from Wheezy. However, I quickly noticed an issue
>with a simple table that was working on the Wheezy-version of gitit. This
>problem can also be reproduced with the 'pandoc' command line tool: Given the
>following table in 'input.html':
>
>--8<----------------
><table>
>  <tbody>
>    <tr>
>      <td>1</td>
>      <td>2</td>
>    </tr>
>    <tr>
>      <td>3</td>
>      <td>4</td>
>    </tr>
>  </tbody>
></table>
>---------------->8--
>
>Converting with the following command:
>  pandoc -f html -t html input.html > output.html
>
>This resulted in the following HTML output:
>
>--8<----------------
><table>
><colgroup>
><col width="50%" />
><col width="50%" />
></colgroup>
><tbody>
><tr class="odd">
><td align="left">1
>2</td>
><td align="left">3
>4</td>
></tr>
></tbody>
></table>
>---------------->8--
>
>So the <td>'s inside the rows got merged together, and the 2 rows got combined
>into one. The upstream changelog for 1.13 mentions a fix for a bug [2] which
>looks like the issue I noticed (it also mentions a fix for a bug [3] which
>should fix Debian bug #739448, btw.).
>
>Kind regards
>Manfred
>
>[1] http://johnmacfarlane.net/pandoc/releases.html
>[2] https://github.com/jgm/pandoc/issues/1341
>[3] https://github.com/jgm/pandoc/issues/1167
>
>-- System Information:
>Debian Release: 8.0
>  APT prefers testing
>  APT policy: (500, 'testing')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/4 CPU cores)
>Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: unable to detect
>
>Versions of packages pandoc depends on:
>ii  libc6        2.19-13
>ii  libffi6      3.1-2+b2
>ii  libgmp10     2:6.0.0+dfsg-6
>ii  libicu52     52.1-6
>ii  liblua5.1-0  5.1.5-7.1
>ii  libpcre3     2:8.35-3.3
>ii  libyaml-0-2  0.1.6-3
>ii  pandoc-data  1.12.4.2~dfsg-1
>ii  zlib1g       1:1.2.8.dfsg-2+b1
>
>pandoc recommends no packages.
>
>Versions of packages pandoc suggests:
>pn  etoolbox                   <none>
>pn  pandoc-citeproc            <none>
>ii  texlive-latex-recommended  2014.20141024-2
>pn  texlive-luatex             <none>
>pn  texlive-xetex              <none>
>
>-- no debconf information
>



More information about the Pkg-haskell-maintainers mailing list