Package: python-markdown
Version: 2.0.3-2
Severity: normal
Dear Maintainer,
Please have a look to this strange behavior:
--------8<--------
>>> import markdown
>>> markdown.markdown('<p>.\n\n...\n\n.</p>')
u'<p>.\n\n...\n\n.</p>'
>>> markdown.markdown('<p>.\n\n.a.\n\n.</p>')
u'<p>.\n\n.a.\n\n.</p>'
>>> markdown.markdown('<p>.\n\n.p.\n\n.</p>')
u'<p>.\n\n.p.\n\n<p>.</p></p>'
-------->8--------
After a little investigation it seems that the problem comes from
markdown.preprocessors.HtmlBlockPreprocessor. I don't know why but it seems it
considers the 'p' as a tag (which it obviously is not).
Cheers,
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-markdown depends on:
ii python 2.7.2-9
ii python-support 1.0.14
python-markdown recommends no packages.
python-markdown suggests no packages.
-- no debconf information
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team