Package: python-markdown Version: 2.6.5-2 Severity: normal Hello,
thank you for maintaining markdown. I have noticed that rendering email links generates a rather overquoted href: $ python3 Python 3.5.1+ (default, Jan 13 2016, 15:09:18) [GCC 5.3.1 20160101] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import markdown >>> markdown.markdown("<t...@example.org>") '<p><a href="mailto:test@example.org">test@example.org</a></p>' >>> Chromium opens it correctly, so I wonder if this is just some antispam measure. However, chromium opens it correctly, so I'm not sure it is really useful as an antispam measure. Looking at AutomailPattern's implementation in inlinepatterns.py it seems intentional, and I think it should at least be documented, and, if possible, configurable. This is making it rather complicated for me to postprocess <a> links in the markdown ElementTree. Thank you, Enrico -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-markdown depends on: pn python:any <none> Versions of packages python-markdown recommends: ii python-pygments 2.1+dfsg-1 ii python-yaml 3.11-3 Versions of packages python-markdown suggests: pn python-markdown-doc <none> -- no debconf information