Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email address in "<a@b.c>" format broken #1

Open
sfstpala opened this issue Jun 27, 2011 · 0 comments
Open

Email address in "<a@b.c>" format broken #1

sfstpala opened this issue Jun 27, 2011 · 0 comments

Comments

@sfstpala
Copy link

This code crashes with email-addresses in that format.

Here's a fix:

markdown/inlinepatterns.py

+ import html.entities
- if sys.version >= "3.0":
-     from html import entities as htmlentitydefs
- else:
-     import html.entities

via Python-Markdown/markdown#29 (comment)

I haven't tested (properly) if this breaks anything else though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant