Closed GoogleCodeExporter closed 8 years ago
r80 added the utf-8 encoding/decoding. ====================================================================== FAIL: markdown2/phpmarkdown/email_auto_links ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_markdown2.py", line 145, in <lambda> self._assertMarkdownPath(t, opts=o) File "./test_markdown2.py", line 77, in _assertMarkdownPath self._assertMarkdown(text, html, text_path, html_path, opts=opts) File "./test_markdown2.py", line 124, in _assertMarkdown errmsg.encode('ascii', 'charreprreplace')) AssertionError: markdown2.py didn't produce the expected HTML: ---- text (escaping: .=space, \n=newline) ---- <michel.fortin@michelf.com>\n \n International.domain.names:.<help@t\u016bdali\u0146.lv> ---- Python markdown2.py HTML (escaping: .=space, \n=newline) ---- <p><a.href="mailto:miche 08;.fortin@michel
 2;.com">michel.for tin@michelf.co d;</a></p>\n \n <p>International.domain.names:.<help@t\u016bdali\u0146.lv></p>\n ---- expected HTML (escaping: .=space, \n=newline) ---- <p><a.href="mailto:mich&#x 65;l.fortin@mich elf.com">michel& #x2e;fortin@miche
 8;f.com</a></p>\n \n <p>International.domain.names:.<a.href="mailto: help@t\u016bdali\u0146. 08;v">help@t\u016bdali\u0 146.lv</a></p>\n ---- diff ---- --- ./php-markdown-cases/Email auto links.html +++ markdown2 ./php-markdown-cases/Email auto links.text @@ -1,3 +1,3 @@ <p><a href="mailto:michel.fortin@michelf.com">michel.fortin@michelf.com</a></p> -<p>International domain names: <a href="mailto:help@t\u016bdali\u0146.lv">help@t\u016bdali\u0146.lv</a></p> +<p>International domain names: <help@t\u016bdali\u0146.lv></p>
Original issue reported on code.google.com by tre...@gmail.com on 6 Nov 2007 at 6:40
tre...@gmail.com
Fixed in revision 88 (better unicode handling, part of issue3).
Original comment by tre...@gmail.com on 8 Nov 2007 at 2:15
Original issue reported on code.google.com by
tre...@gmail.com
on 6 Nov 2007 at 6:40