This problem has been fixed in the upstream source (pandoc-1.1). +++ Ben Finney [Sep 30 08 18:29 ]: > Package: pandoc > Version: 0.46+2 > Severity: normal > > The reStructuredText specification allows for comment blocks of > arbitrary indented text > <URL:http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#comments>. > > The following session shows that pandoc is incorrectly interpreting > these comment elements as some other kind of element. > > ===== > Script started on Tue 30 Sep 2008 18:03:08 EST > > $ infile=$(mktemp -t) > $ cat > $infile > Title of document > ================= > > First paragraph > > .. > Comment block, should not appear in output > as defined by reStructuredText > > Another paragraph > > .. > Another comment block. > > This one spans several > text elements. > > It doesn't end until > indentation is restored to the > preceding level. > > A third paragraph > > $ pandoc --from rst --to markdown $infile > # Title of document > > First paragraph > > .. > : Comment block, should not appear in output as defined by > reStructuredText > > > Another paragraph > > .. > > Another comment block. > > > > This one spans several text elements. > > > > It doesn't end until indentation is restored to the preceding > > level. > > A third paragraph > > $ rm $infile > $ exit > > Script done on Tue 30 Sep 2008 18:07:49 EST > ===== > > > The above result is incorrect; instead the comment blocks in the input > should not be visible in the rendered form. For example, this would be > a correct rendering of the above example input: > > ===== > # Title of document > > First paragraph > > Another paragraph > > A third paragraph > > ===== > > > -- System Information: > Debian Release: lenny/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'stable'), (90, 'unstable') > Architecture: powerpc (ppc64) > > Kernel: Linux 2.6.25-2-powerpc64 (SMP w/2 CPU cores) > Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: > LC_ALL set to en_AU.UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages pandoc depends on: > ii libc6 2.7-13 GNU C Library: Shared libraries > ii libgmp3c2 2:4.2.2+dfsg-3 Multiprecision arithmetic library > > pandoc recommends no packages. > > Versions of packages pandoc suggests: > ii tetex-extra 2007.dfsg.1-3 TeX Live: teTeX transitional > packa > ii texlive-latex-recommended 2007.dfsg.1-3 TeX Live: LaTeX recommended > packag > ii tidy 20080116cvs-2 HTML syntax checker and > reformatte > ii wget 1.11.4-2 retrieves files from the web > > -- no debconf information > > -- > \ “Politics is not the art of the possible. It consists in | > `\ choosing between the disastrous and the unpalatable.” —John | > _o__) Kenneth Galbraith, 1962-03-02 | > Ben Finney <[EMAIL PROTECTED]>
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]