From: Erick T. <ida...@us...> - 2007-03-18 09:32:31
|
Hello, I noticed that python-markdown has some problems parsing code with a '#' inside of a html tag: > python -c 'import markdown; print [markdown.markdown("<pre>\n#!/usr/bin/python\nhello</pre>")]' ['\n<pre>\n#!/usr/bin/python\n\nhello</pre>\n\n\n\n'] You should notice that there are some extra newline inserted after the line with the '#'. I would expect it to be this: ['\n<pre>\n#!/usr/bin/python\nhello</pre>\n\n\n\n'] -e |