Debian Bug report logs - #424919
generates invalid html for a list element immediately followed by a quote

version graph

Package: markdown; Maintainer for markdown is Matt Kraai <kraai@debian.org>; Source for markdown is src:markdown (PTS, buildd, popcon).

Reported by: Joey Hess <joeyh@debian.org>

Date: Thu, 17 May 2007 20:18:01 UTC

Severity: normal

Found in versions markdown/1.0.1-6, markdown/1.0.1-3

Fixed in version markdown/1.0.2~b8-2

Done: Matt Kraai <kraai@debian.org>

Forwarded to markdown-discuss@six.pairlist.net

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matt Kraai <kraai@debian.org>:
Bug#424919; Package markdown. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
New Bug report received and forwarded. Copy sent to Matt Kraai <kraai@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: generates invalid html for a list element immediately followed by a quote
Date: Thu, 17 May 2007 16:07:35 -0400
[Message part 1 (text/plain, inline)]
Package: markdown
Version: 1.0.1-6
Severity: normal

joey@kodama:~>cat foo
* foo
> bar
> baz
joey@kodama:~>markdown foo
<p><ul>
<li>foo</p>

<blockquote>
  <p>bar
  baz</li>
  </ul></p>
</blockquote>

Notice that the closing tags are not in the right order..

If a newline is added before the quote, it closes the list before starting
the blockquote, so that's a workaround.

(This also happens with markdown 1.0.2~b8-1)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages markdown depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

markdown recommends no packages.

-- no debconf information

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Reply sent to Matt Kraai <kraai@ftbfs.org>:
You have marked Bug as forwarded. (full text, mbox, link).


Message #8 received at 424919-forwarded@bugs.debian.org (full text, mbox, reply):

From: Matt Kraai <kraai@ftbfs.org>
To: markdown-discuss@six.pairlist.net
Cc: 424919-forwarded@bugs.debian.org, 424919-submitter@bugs.debian.org
Subject: Markdown generates invalid html for a list immediately followed by a quote
Date: Tue, 22 May 2007 20:48:05 -0700
Howdy,

[Please preserve the CC to 424919-forwarded@bugs.debian.org on any
replies.]

The following bug in Markdown was reported to the Debian bug tracking
system.  In short, running both the released version of Markdown and
the latest beta on

 * foo
 > bar
 > baz

produces invalid HTML.

----- Forwarded message from Joey Hess <joeyh@debian.org> -----

From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#424919: generates invalid html for a list element immediately followed by a quote
Date: Thu, 17 May 2007 16:07:35 -0400
X-Spam-Status: No, hits=-8.5 required=4.0 tests=BAYES_00,FROMDEVELOPER,
	HAS_PACKAGE,HTML_MESSAGE,RCVD_IN_SORBS autolearn=ham 
	version=2.60-bugs.debian.org_2005_01_02

Package: markdown
Version: 1.0.1-6
Severity: normal

joey@kodama:~>cat foo
* foo
> bar
> baz
joey@kodama:~>markdown foo
<p><ul>
<li>foo</p>

<blockquote>
  <p>bar
  baz</li>
  </ul></p>
</blockquote>

Notice that the closing tags are not in the right order..

If a newline is added before the quote, it closes the list before starting
the blockquote, so that's a workaround.

(This also happens with markdown 1.0.2~b8-1)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages markdown depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

markdown recommends no packages.

-- no debconf information

-- 
see shy jo



----- End forwarded message -----

-- 
Matt



Message sent on to Joey Hess <joeyh@debian.org>:
Bug#424919. (full text, mbox, link).


Reply sent to Matt Kraai <kraai@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #16 received at 424919-close@bugs.debian.org (full text, mbox, reply):

From: Matt Kraai <kraai@debian.org>
To: 424919-close@bugs.debian.org
Subject: Bug#424919: fixed in markdown 1.0.2~b8-2
Date: Tue, 12 Jun 2007 05:17:03 +0000
Source: markdown
Source-Version: 1.0.2~b8-2

We believe that the bug you reported is fixed in the latest version of
markdown, which is due to be installed in the Debian FTP archive:

markdown_1.0.2~b8-2.diff.gz
  to pool/main/m/markdown/markdown_1.0.2~b8-2.diff.gz
markdown_1.0.2~b8-2.dsc
  to pool/main/m/markdown/markdown_1.0.2~b8-2.dsc
markdown_1.0.2~b8-2_all.deb
  to pool/main/m/markdown/markdown_1.0.2~b8-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 424919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matt Kraai <kraai@debian.org> (supplier of updated markdown package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 11 Jun 2007 21:59:24 -0700
Source: markdown
Binary: markdown
Architecture: source all
Version: 1.0.2~b8-2
Distribution: experimental
Urgency: low
Maintainer: Matt Kraai <kraai@debian.org>
Changed-By: Matt Kraai <kraai@debian.org>
Description: 
 markdown   - Text-to-HTML conversion tool
Closes: 424919
Changes: 
 markdown (1.0.2~b8-2) experimental; urgency=low
 .
   * Handle a list followed by a blockquote correctly, closes: #424919.
Files: 
 480adc48688205ebfe31db1b8c84ab30 535 web optional markdown_1.0.2~b8-2.dsc
 dfc48480a272a77707f153084d71af8b 5215 web optional markdown_1.0.2~b8-2.diff.gz
 bf3d64cc613c39a1d49a05cbe145a19c 26272 web optional markdown_1.0.2~b8-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGbiiafNdgYxVXvBARAteLAJ9RVs7k+LpxuFq8KvihwfC14A/U3QCgs9K8
A5tXbiO8rIKxF6Mb4lQUsoI=
=fExE
-----END PGP SIGNATURE-----




Marked as found in versions markdown/1.0.1-3. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 02 Nov 2013 15:57:29 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Dec 2016 08:12:22 GMT) (full text, mbox, link).


Bug unarchived. Request was from Don Armstrong <don@debian.org> to control@bugs.debian.org. (Wed, 07 Dec 2016 01:33:36 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 23:40:00 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.